David had an equal number of matcha macarons, butter macarons and cream macarons. After he ate 25 matcha macarons, some butter macarons and cream macarons, there were 62 macarons left. The number of butter macarons he ate was twice the number of cream macarons he ate. The number of butter macarons left was 15 more than the number of matcha macarons left. How many matcha macarons were there at first?
|
Matcha macarons |
Butter macarons |
Cream macarons |
Total macarons |
Before |
1 p + 25 |
1 p + 2 u + 15 |
1 p + 2 u + 15 |
|
Change |
- 25 |
- 2 u |
- 1 u |
|
After |
1 p |
1 p + 15 |
1 p + 15 + 1 u |
62 |
Number of butter macarons and matcha macarons was equal at first.
1 p + 2 u + 15 = 1 p + 25
2 u = 25 - 15
2 u = 10
1 u = 10 ÷ 2 = 5
Total number of macarons in the end
= 1 p + 1 p + 15 + 1 p + 15 + 5
= 1 p + 1 p + 1 p + 15 + 15 + 5
= 3 p + 35
3 p + 35 = 62
3 p = 62 - 35
3 p = 27
1 p = 27 ÷ 3 = 9
Number of matcha macarons at first
= 1 p + 25
= 9 + 25
= 34
Answer(s): 34