document.write( "Question 152592: Yesterday there were 5 times as many girls as boys in Miss Miriam's preschool. Today 4 more boys joined the preschool. Now there are 3 times as many girls as boys. How many children are now attending the preschool?\r
\n" ); document.write( "\n" ); document.write( "So far I know that if you let \"b\" equal boys and \"g\" equal girls the first equation is 5b=g. I also know that I am looking for \"x\" the total amount of children in the school or b+g=x. I am not sure where the 4 additional boys come in or how to make the equations equal so that I can solve them. I really would appreciate your help!
\n" ); document.write( "

Algebra.Com's Answer #112150 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
Ok, you got a good start!
\n" ); document.write( "Let b = number of boys yesterday and (b+4) = the number of boys today and g = number of girls (This didn't change).
\n" ); document.write( "Yesterday: g = 5b
\n" ); document.write( "Today: g = 3(b+4)
\n" ); document.write( "Since g = g, then;
\n" ); document.write( "5b = 3(b+4) Apply the distributive property on the right side.
\n" ); document.write( "5b = 3b+12 Subtract 3b from both sides.
\n" ); document.write( "2b = 12 Divide both sides by 2.
\n" ); document.write( "b = 6
\n" ); document.write( "So, yesterday, there were 6 boys plus 5*(6) girls for a total of 36 children.
\n" ); document.write( "Today, there are 6+4 = 10 boys and 3*10 = 30 girls for a total 40 children.
\n" ); document.write( "
\n" );