PSLE Tammy bought some jelly beans and gave half of it to Dylan. Dylan bought some candy canes and gave half of it to Tammy. Tammy ate 2 candy canes and Dylan ate 14 jelly beans. The ratio of Tammy's candy canes to jelly beans became 1 : 5 and the ratio of Dylan's candy canes to jelly beans became 1 : 2. How many candy canes did Dylan buy?
|
Tammy |
Dylan |
|
Candy canes |
Jelly beans |
Candy canes |
Jelly beans |
Before |
1 u + 2 |
5 u |
1 p |
2 p + 14 |
Change |
- 2 |
|
|
- 14 |
After |
1 u |
5 u |
1 p |
2 p |
After Tammy gave half of the jelly beans to Dylan and Dylan gave half of his candy canes to Tammy, Dylan and Tammy had same number of candy canes and jelly beans before each ate some.
5 u = 2 p + 14
5 u - 14 =
2 p --- (1)
1 u + 2 = 1 p --- (2)
Make p the same.
(2)
x2
2 u + 4 =
2 p --- (3)
(1) = (3)
5 u - 14 = 2 u + 4
5 u - 2 u = 4 + 14
3 u = 18
1 u = 18 ÷ 3 = 6
1 p
= 1 u + 2
= 6 + 2
= 8
Number of candy canes that Dylan bought
= 2 p
= 2 x 8
= 16
Answer(s): 16