There were originally 3 cards in the entire deck.
Let's denote the number of cards in the entire deck as \(D\).
Megan divided the deck into 4 equal groups, so each group has
cards.
She placed 3 cards in the center, and now she has 5 cards in her hand.
So, the equation representing this situation is:
Now, let's solve for \(D\):
Multiply both sides by 4 to get rid of the fraction:
Subtract \(D\) from both sides:
Divide both sides by 3:
However, the number of cards in a deck must be a whole number, so we round up:
Therefore, there were originally 3 cards in the entire deck.