Wendy has some candy canes and caramel apples. If she packs a candy cane and a caramel apple in each bag, there will be 23 caramel apples left. If she packs 5 candy canes and 6 caramel apples in each bag, there will be 19 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 + 23 |
5 p + 19 |
6 p |
Change |
- 1 u |
- 1 u |
- 5 p |
- 6 p |
After |
0 |
23 |
19 |
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 = 5 p + 19 --- (1)
1 u + 23 = 6 p
1 u = 6 p - 23 --- (2)
(2) = (1)
6 p - 23 = 5 p + 19
6 p - 5 p = 19 + 23
1 p = 42
Total number of candy canes and caramel apples
= (5 p + 19) + 6 p
= 11 p + 19
= 11 x 42 + 19
= 462 + 19
= 481
Answer(s): 481