Sandy bought an equal number of muffins and tarts. The muffins were sold at 4 for $3 and the tarts were sold at 7 for $5.
grouping concept
since equal number of muffins and tarts, we need to get the lowest common multiple of 4 and 7 → 28
4 muffins → $3 28 muffins → $3 x 7 = $21
7 tarts → $5 28 tars → 4 x $5 = $20
1 group → 28 muffins + 28 tarts = 56
1 group cost → $21 + $20 = $41
"She paid a total of $164 for all the muffins and tarts. "
number of groups → $164 ÷ $41 = 4
total muffins and tarts → 4 x 56 = 224