Wendy has some mochi balls and sweets. If she packs a mochi ball and a sweet in each bag, there will be 15 sweets left. If she packs 5 mochi balls and 6 sweets in each bag, there will be 23 mochi balls left. How many mochi balls and sweets does she have in all?
|
Case 1 |
Case 2 |
|
Mochi Balls |
Sweets |
Mochi Balls |
Sweets |
Before |
1 u |
1 u + 15 |
5 p + 23 |
6 p |
Change |
- 1 u |
- 1 u |
- 5 p |
- 6 p |
After |
0 |
15 |
23 |
0 |
The number of mochi balls at first is the same for Case 1 and 2.
The number of sweets at first is also the same for Case 1 and 2.
1 u = 5 p + 23 --- (1)
1 u + 15 = 6 p
1 u = 6 p - 15 --- (2)
(2) = (1)
6 p - 15 = 5 p + 23
6 p - 5 p = 23 + 15
1 p = 38
Total number of mochi balls and sweets
= (5 p + 23) + 6 p
= 11 p + 23
= 11 x 38 + 23
= 418 + 23
= 441
Answer(s): 441