Lynn has some mini cupcakes and sweets. If she packs a mini cupcake and a sweet in each bag, there will be 11 sweets left. If she packs 2 mini cupcakes and 3 sweets in each bag, there will be 23 mini cupcakes left. How many mini cupcakes and sweets does she have in all?
|
Case 1 |
Case 2 |
|
Mini Cupcakes |
Sweets |
Mini Cupcakes |
Sweets |
Before |
1 u |
1 u + 11 |
2 p + 23 |
3 p |
Change |
- 1 u |
- 1 u |
- 2 p |
- 3 p |
After |
0 |
11 |
23 |
0 |
The number of mini cupcakes 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 = 2 p + 23 --- (1)
1 u + 11 = 3 p
1 u = 3 p - 11 --- (2)
(2) = (1)
3 p - 11 = 2 p + 23
3 p - 2 p = 23 + 11
1 p = 34
Total number of mini cupcakes and sweets
= (2 p + 23) + 3 p
= 5 p + 23
= 5 x 34 + 23
= 170 + 23
= 193
Answer(s): 193