document.write( "Question 1129133: three girls share a packet of sweet. the first received 2/5 of the sweets. the second received 5/9 of the remainder and the third got 8 sweets.how many sweet were in the packet? \n" ); document.write( "
Algebra.Com's Answer #745690 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
three girls share a packet of sweet. the first received 2/5 of the sweets.
\n" ); document.write( " the second received 5/9 of the remainder and the third got 8 sweets.
\n" ); document.write( "how many sweet were in the packet?
\n" ); document.write( ":
\n" ); document.write( "let a = total amt of sweets
\n" ); document.write( "change 2/5 to .4, simplify dealing with fractions
\n" ); document.write( "a = .4a + \"5%2F9\"(a-.4a) + 8
\n" ); document.write( "a = .4a + \"5%2F9\"(.6a) + 8
\n" ); document.write( "multiply equation by 9 to get rid of the denominator
\n" ); document.write( "9a = 9(.4a) + 5(.6a) + 9(8)
\n" ); document.write( "9a = 3.6a + 3a + 72
\n" ); document.write( "9a = 6.6a + 72
\n" ); document.write( "9a - 6.6a = 72
\n" ); document.write( "2.4a = 72
\n" ); document.write( "a = 72/2.4
\n" ); document.write( "a = 30 sweets in the packet
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "See if that checks out
\n" ); document.write( "\"2%2F5\" * 30 = 12 for the 1st girl
\n" ); document.write( "\"5%2F9\" * 18 = 10 for the 2nd girl (subtracted 12 from the total)
\n" ); document.write( "3rd girl: 8
\n" ); document.write( "----------------
\n" ); document.write( "total 30\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );