document.write( "Question 1204999: Hi
\n" ); document.write( "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.
\n" ); document.write( "Thanks
\n" ); document.write( " \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #841585 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Normally we go from \"before\" to \"after\", but I'll go in reverse.
\n" ); document.write( "Ali ends with 'a' number of candies and Baba ends with twice as much 2a.
\n" ); document.write( "This forms the ratio a:2a and that simplifies to 1:2 aka \"1 to 2\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then let b represent the amount Ali gifted to Baba.
\n" ); document.write( "Ali would start with a+b candies
\n" ); document.write( "Baba starts with 2a-b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "After: ali = a, baba = 2a
\n" ); document.write( "Before: ali = a+b, baba = 2a-b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since b is the amount Ali gives to Baba, it is equal to 3/8 of the amount Ali had before giving their sweets.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b = (3/8)(a+b)
\n" ); document.write( "8b = 3(a+b)
\n" ); document.write( "8b = 3a+3b
\n" ); document.write( "8b-3b = 3a
\n" ); document.write( "5b = 3a
\n" ); document.write( "b = 3a/5
\n" ); document.write( "b = 0.6a\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then we find the ratio of their old amounts (a+b) over (2a-b)
\n" ); document.write( "Plug in b = 0.6a found just now.
\n" ); document.write( "(a+b)/(2a-b)
\n" ); document.write( "= (a+0.6a)/(2a-0.6a)
\n" ); document.write( "= (1.6a)/(1.4a)
\n" ); document.write( "= (1.6)/(1.4)
\n" ); document.write( "= 16/14
\n" ); document.write( "= 8/7\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In short,
\n" ); document.write( "(a+b)/(2a-b) = 8/7
\n" ); document.write( "when b = 0.6a\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The fraction 8/7 leads to the ratio 8:7 aka 8 to 7
\n" ); document.write( "It means that for every 8 pieces of candy Ali started with, Baba has 7 pieces to start with.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's say hypothetically Ali started with 8 pieces of candy.
\n" ); document.write( "3/8 of that is 3 pieces, which is given to Baba.
\n" ); document.write( "Ali's amount drops to 8-3 = 5 pieces
\n" ); document.write( "Baba's amount increases to 7+3 = 10 pieces
\n" ); document.write( "Their new ratio is 5:10 which reduces to 1:2
\n" ); document.write( "
\n" ); document.write( "
\n" );