document.write( "Question 983474: Hi
\n" ); document.write( "there were 1518 boys and girls in a hall.when 2/3 of the boys and 1/5 of the girls left there were
\n" ); document.write( "twice as many girls as boys remaining. \r
\n" ); document.write( "\n" ); document.write( "How many girls were there at the beginning
\n" ); document.write( "how many boys were there at the beginning\r
\n" ); document.write( "\n" ); document.write( "thanks
\n" ); document.write( "

Algebra.Com's Answer #604300 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
let g = original no. of girls
\n" ); document.write( "let b = original no. of boys
\n" ); document.write( ":
\n" ); document.write( "there were 1518 boys and girls in a hall.
\n" ); document.write( "g + b = 1518
\n" ); document.write( "when 2/3 of the boys and 1/5 of the girls left there were twice as many girls as boys remaining.
\n" ); document.write( "That means that 4/5 of the girls and 1/3 of the boys remained, so we can say
\n" ); document.write( "\"4%2F5\"g = 2(\"1%2F3\"b)
\n" ); document.write( "\"4%2F5\"g = \"2%2F3\"b
\n" ); document.write( "multiply by 15 to get rid of the denominators
\n" ); document.write( "3(4g) = 5(2b)
\n" ); document.write( "12g = 10b
\n" ); document.write( "Simplify divide by 2
\n" ); document.write( "6g = 5b
\n" ); document.write( "b = \"6%2F5\"g
\n" ); document.write( "b = 1.2 g
\n" ); document.write( "in the 1st equation replace b with 1.2g
\n" ); document.write( "g + 1.2g = 1518
\n" ); document.write( "2.2g = 1518
\n" ); document.write( "g = 1518/2.2
\n" ); document.write( "g = 690 girls originally
\n" ); document.write( "then
\n" ); document.write( "1518 - 690 = 828 boys originally
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check this, by finding the remaining girls and boys
\n" ); document.write( "1/3 * 828 = 276 boys remain
\n" ); document.write( "4/5 * 690 = 552 girls
\n" ); document.write( "2 * 276 = 552 twice as many girls as boys
\n" ); document.write( "
\n" ); document.write( "
\n" );