Gabriel had an equal number of vanila wafers, strawberry wafers and chocolate wafers. After he ate 32 vanila wafers, some strawberry wafers and chocolate wafers, there were 58 wafers left. The number of strawberry wafers he ate was twice the number of chocolate wafers he ate. The number of strawberry wafers left was 16 more than the number of vanila wafers left. How many vanila wafers were there at first?
|
Vanila wafers |
Strawberry wafers |
Chocolate wafers |
Total wafers |
Before |
1 p + 32 |
1 p + 2 u + 16 |
1 p + 2 u + 16 |
|
Change |
- 32 |
- 2 u |
- 1 u |
|
After |
1 p |
1 p + 16 |
1 p + 16 + 1 u |
58 |
Number of strawberry wafers and vanila wafers was equal at first.
1 p + 2 u + 16 = 1 p + 32
2 u = 32 - 16
2 u = 16
1 u = 16 ÷ 2 = 8
Total number of wafers in the end
= 1 p + 1 p + 16 + 1 p + 16 + 8
= 1 p + 1 p + 1 p + 16 + 16 + 8
= 3 p + 40
3 p + 40 = 58
3 p = 58 - 40
3 p = 18
1 p = 18 ÷ 3 = 6
Number of vanila wafers at first
= 1 p + 32
= 6 + 32
= 38
Answer(s): 38