Question 1204999
<br>
You have received three responses showing very good and very different solution methods.<br>
Now here is a fourth (using a single variable)....<br>
Let x be the number Ali started with.<br>
He gave 3/8 of them (i.e., (3/8)x) to Baba; the number he has left is (5/8)x.<br>
After Ali gave Baba (3/8) of his sweets, the ratio of Ali's sweets to Baba's is 1:2, so the number Baba now has is 2*(5/8)x = (10/8)x.<br>
So before Ali gave Baba some of his sweets, the number Baba had was (10/8)x - (3/8)x = (7/8)x.<br>
Then the ratio of Ali's sweets to Baba's sweets in the beginning was<br>
(x):((7/8)x) = 8x:7x = 8:7<br>
ANSWER: 8:7<br>