Lynn has some candy canes and caramel apples. If she packs a candy cane and a caramel apple in each bag, there will be 25 caramel apples left. If she packs 4 candy canes and 5 caramel apples in each bag, there will be 13 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 + 25 |
4 p + 13 |
5 p |
Change |
- 1 u |
- 1 u |
- 4 p |
- 5 p |
After |
0 |
25 |
13 |
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 = 4 p + 13 --- (1)
1 u + 25 = 5 p
1 u = 5 p - 25 --- (2)
(2) = (1)
5 p - 25 = 4 p + 13
5 p - 4 p = 13 + 25
1 p = 38
Total number of candy canes and caramel apples
= (4 p + 13) + 5 p
= 9 p + 13
= 9 x 38 + 13
= 342 + 13
= 355
Answer(s): 355