Tiffany has some caramel apples and mini cupcakes. If she packs a caramel apple and a mini cupcake in each bag, there will be 17 mini cupcakes left. If she packs 4 caramel apples and 5 mini cupcakes in each bag, there will be 10 caramel apples left. How many caramel apples and mini cupcakes does she have in all?
|
Case 1 |
Case 2 |
|
Caramel Apples |
Mini Cupcakes |
Caramel Apples |
Mini Cupcakes |
Before |
1 u |
1 u + 17 |
4 p + 10 |
5 p |
Change |
- 1 u |
- 1 u |
- 4 p |
- 5 p |
After |
0 |
17 |
10 |
0 |
The number of caramel apples at first is the same for Case 1 and 2.
The number of mini cupcakes at first is also the same for Case 1 and 2.
1 u = 4 p + 10 --- (1)
1 u + 17 = 5 p
1 u = 5 p - 17 --- (2)
(2) = (1)
5 p - 17 = 4 p + 10
5 p - 4 p = 10 + 17
1 p = 27
Total number of caramel apples and mini cupcakes
= (4 p + 10) + 5 p
= 9 p + 10
= 9 x 27 + 10
= 243 + 10
= 253
Answer(s): 253