Answer:
Rasheed bought 9 packages of chocolates bar.
Step-by-step explanation:
Let C be the number of packages of chocolate bars.
Let T be the number of packages of toffee bars.
Rasheed handed out 2/3 of 2C of the chocolate bars and 3/5 of 2T of the toffee bars.
(1) Rasheed bought 1 fewer package of chocolate bars than toffee bars.
Equation becomes:
[tex]C=T-1[/tex] .....(1)
(2) Rasheed handed out the same number of each kind of candy bar .
Equation becomes:
[tex]\frac{2}{3}\times 2C =\frac{3}{5}\times 2T[/tex]
=> [tex]\frac{4C}{3} =\frac{6T}{5}[/tex]
=> [tex]20C=18T[/tex]
=> [tex]20C-18T=0[/tex]
Taking out 2 common, we get
[tex]10C-9T=0[/tex] ......(2)
Substituting [tex]C=T-1[/tex] in (2)
[tex]10(T-1)-9T=0[/tex]
=> [tex]10T-10-9T=0[/tex]
=> [tex]T-10=0[/tex]
T = 10
As [tex]C=T-1[/tex]
[tex]C=10-1[/tex]
C = 9
Therefore, Rasheed bought 9 packages of chocolates bar.