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