Kathy has some sweets and lollipops. If she packs a sweet and a lollipop in each bag, there will be 29 lollipops left. If she packs 5 sweets and 6 lollipops in each bag, there will be 26 sweets left. How many sweets and lollipops does she have in all?
|
Case 1 |
Case 2 |
|
Sweets |
Lollipops |
Sweets |
Lollipops |
Before |
1 u |
1 u + 29 |
5 p + 26 |
6 p |
Change |
- 1 u |
- 1 u |
- 5 p |
- 6 p |
After |
0 |
29 |
26 |
0 |
The number of sweets at first is the same for Case 1 and 2.
The number of lollipops at first is also the same for Case 1 and 2.
1 u = 5 p + 26 --- (1)
1 u + 29 = 6 p
1 u = 6 p - 29 --- (2)
(2) = (1)
6 p - 29 = 5 p + 26
6 p - 5 p = 26 + 29
1 p = 55
Total number of sweets and lollipops
= (5 p + 26) + 6 p
= 11 p + 26
= 11 x 55 + 26
= 605 + 26
= 631
Answer(s): 631