Esther has some candy canes and caramel apples. If she packs a candy cane and a caramel apple in each bag, there will be 14 caramel apples left. If she packs 3 candy canes and 4 caramel apples in each bag, there will be 22 candy canes left. How many candy canes and caramel apples does she have in all?
|
Case 1 |
Case 2 |
|
Candy Canes |
Caramel Apples |
Candy Canes |
Caramel Apples |
Before |
1 u |
1 u + 14 |
3 p + 22 |
4 p |
Change |
- 1 u |
- 1 u |
- 3 p |
- 4 p |
After |
0 |
14 |
22 |
0 |
The number of candy canes at first is the same for Case 1 and 2.
The number of caramel apples at first is also the same for Case 1 and 2.
1 u = 3 p + 22 --- (1)
1 u + 14 = 4 p
1 u = 4 p - 14 --- (2)
(2) = (1)
4 p - 14 = 3 p + 22
4 p - 3 p = 22 + 14
1 p = 36
Total number of candy canes and caramel apples
= (3 p + 22) + 4 p
= 7 p + 22
= 7 x 36 + 22
= 252 + 22
= 274
Answer(s): 274