Oliver had an equal number of matcha cupcakes, butter cupcakes and cream cupcakes. After he ate 46 matcha cupcakes, some butter cupcakes and cream cupcakes, there were 58 cupcakes left. The number of butter cupcakes he ate was thrice the number of cream cupcakes he ate. The number of butter cupcakes left was 22 more than the number of matcha cupcakes left. How many matcha cupcakes were there at first?
|
Matcha cupcakes |
Butter cupcakes |
Cream cupcakes |
Total cupcakes |
Before |
1 p + 46 |
1 p + 3 u + 22 |
1 p + 3 u + 22 |
|
Change |
- 46 |
- 3 u |
- 1 u |
|
After |
1 p |
1 p + 22 |
1 p + 22 + 1 u |
58 |
Number of butter cupcakes and matcha cupcakes was equal at first.
1 p + 3 u + 22 = 1 p + 46
3 u = 46 - 22
3 u = 24
1 u = 24 ÷ 3 = 8
Total number of cupcakes in the end
= 1 p + 1 p + 22 + 1 p + 22 + 8
= 1 p + 1 p + 1 p + 22 + 22 + 8
= 3 p + 52
3 p + 52 = 58
3 p = 58 - 52
3 p = 6
1 p = 6 ÷ 3 = 2
Number of matcha cupcakes at first
= 1 p + 46
= 2 + 46
= 48
Answer(s): 48