document.write( "Question 1159542: There was an equal number of boys and girls in a school auditorium. After 24 boys left the auditorium, there were 3 times as many girls as boys. How many children were there in the beginning?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #782583 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "72\r
\n" ); document.write( "\n" ); document.write( "----------------\r
\n" ); document.write( "\n" ); document.write( "Workout:\r
\n" ); document.write( "\n" ); document.write( "B = G (1)
\n" ); document.write( "3(B-24) = G (2)\r
\n" ); document.write( "\n" ); document.write( "Eq (1) allows us to substitute B for G on RHS of (2):
\n" ); document.write( "3(B-24) = B
\n" ); document.write( "2B = 72
\n" ); document.write( "B = 36 ==> G = 36 and B+G=72\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Check: 3(B-24) = 3(12) = 36 = G (ok)\r
\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "
\n" );