Question 1204999
Ali and baby have some great sweets. If ali gives baba 3/8 of his sweets the ratio of ali to babas sweets is 1 to 2. What is the ratio of ali to babas sweets at first.

Let ali have x sweets initially .
He gave (3/8)x to Baba
Now ratio of sweets Ali to Baba is 1:2
Let Baba have y sweets initially

x-(3/8)x /(y+(3/8)x = 1/2

(5x/8 )/((8y+3x)/8) = 1/2


5x=(8y+3x)/( 1/2)

10x  = (8y+3x)

7x = 8y

x/y = 8/7