Gwen has some mini cupcakes and mochi balls. If she packs a mini cupcake and a mochi ball in each bag, there will be 14 mochi balls left. If she packs 2 mini cupcakes and 3 mochi balls in each bag, there will be 21 mini cupcakes left. How many mini cupcakes and mochi balls does she have in all?
|
Case 1 |
Case 2 |
|
Mini Cupcakes |
Mochi Balls |
Mini Cupcakes |
Mochi Balls |
Before |
1 u |
1 u + 14 |
2 p + 21 |
3 p |
Change |
- 1 u |
- 1 u |
- 2 p |
- 3 p |
After |
0 |
14 |
21 |
0 |
The number of mini cupcakes at first is the same for Case 1 and 2.
The number of mochi balls at first is also the same for Case 1 and 2.
1 u = 2 p + 21 --- (1)
1 u + 14 = 3 p
1 u = 3 p - 14 --- (2)
(2) = (1)
3 p - 14 = 2 p + 21
3 p - 2 p = 21 + 14
1 p = 35
Total number of mini cupcakes and mochi balls
= (2 p + 21) + 3 p
= 5 p + 21
= 5 x 35 + 21
= 175 + 21
= 196
Answer(s): 196