Xandra has some lollipops and caramel apples. If she packs a lollipop and a caramel apple in each bag, there will be 20 caramel apples left. If she packs 3 lollipops and 4 caramel apples in each bag, there will be 15 lollipops left. How many lollipops and caramel apples does she have in all?
|
Case 1 |
Case 2 |
|
Lollipops |
Caramel Apples |
Lollipops |
Caramel Apples |
Before |
1 u |
1 u + 20 |
3 p + 15 |
4 p |
Change |
- 1 u |
- 1 u |
- 3 p |
- 4 p |
After |
0 |
20 |
15 |
0 |
The number of lollipops 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 + 15 --- (1)
1 u + 20 = 4 p
1 u = 4 p - 20 --- (2)
(2) = (1)
4 p - 20 = 3 p + 15
4 p - 3 p = 15 + 20
1 p = 35
Total number of lollipops and caramel apples
= (3 p + 15) + 4 p
= 7 p + 15
= 7 x 35 + 15
= 245 + 15
= 260
Answer(s): 260