document.write( "Question 956199: An equal number of boys and girls attended a birthday party. When 16 girls left, there were 5 times as many boys as girls. How many girls attended the birthday party at first? \n" ); document.write( "
Algebra.Com's Answer #584178 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
An equal number of boys and girls attended a birthday party. When 16 girls left, there were 5 times as many boys as girls. How many girls attended the birthday party at first?
\n" ); document.write( "-----------------
\n" ); document.write( "Equations:
\n" ); document.write( "b = g
\n" ); document.write( "5(g-16) = b
\n" ); document.write( "------
\n" ); document.write( "Substitute for \"g\" and solve for \"b\":
\n" ); document.write( "5(b-16) = b
\n" ); document.write( "5b - 80 = b
\n" ); document.write( "4b = 80
\n" ); document.write( "b = 20 (# of boys)
\n" ); document.write( "Ans: g = b = 20 (# of girls that attended at first)
\n" ); document.write( "-------------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "-------------
\n" ); document.write( "
\n" );