On the day after Halloween, Kabir had 5 times as much candy as Sam. If Kabir gives 18 pieces of candy to Sam, they will each have the same amount. How many pieces of candy do they have in all?
ok, not thay hard. we can make a variable.
say x = pieces of candy Sam has.
so Kabir has 5x
and the total is x + 5x = 6x
then we know that 5x - 18 = 3x (the 3x is from 6x/2)
\(5x-18=3x \)
\(5x=3x+18\)
\(2x=18\)
\(x=9\)
so the total is 6x, 6 * 9 = 54.
k=5s and s+18=k-18or k=s+36 so now's+36=5s or 4s=36 or s=9,so Sam had 9,Kabir had 5*9=45 and total 9+45=54 candy .
On the day after Halloween, Kabir had 5 times as much candy as Sam. If Kabir gives 18 pieces of candy to Sam, they will each have the same amount. How many pieces of candy do they have in all?
Let k = number of candies Kabir has.
Let s = number of candies Sam has.
We have $k = 5s \qquad$ (1)
We also have $k-18=s+18 \qquad$ (2)
(1) * (2) => $5s - 18 = s + 18$
$4s = 36$
$s = 9 \qquad$ (3)
(3) & (1) => $k = 45 \qquad$ (4)
(3) + (4) => $9 + 45 = \boxed{54}$