document.write( "Question 477900: On the first day of school, the percentage of boys in a particular class is 60%. During the school year,six girls move away, and are replaced in the class by six boys, this makes the class roster 75% boys. Find the number of boys and girls in the class on the first day.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I am completely lost on this one.
\n" ); document.write( "

Algebra.Com's Answer #327496 by mangopeeler07(462)\"\" \"About 
You can put this solution on YOUR website!

Set B for the number of boys on the first day. Set G for the number of girls.\r
\n" ); document.write( "\n" ); document.write( "so \"B%2BG=A\" (A for all), where \"B=.6A\" (sixty percent).

\r
\n" ); document.write( "\n" ); document.write( "

Six girls move
\n" ); document.write( "\"G-6\"

\r
\n" ); document.write( "\n" ); document.write( "

and six boys come
\n" ); document.write( "\"B%2B6\"

\r
\n" ); document.write( "\n" ); document.write( "

And now the boys make up 75% of the class
\n" ); document.write( "\"B%2B6=.75A\"

\r
\n" ); document.write( "\n" ); document.write( "

Using \"B=.6A\" and \"B%2B6=.75A\", plug in .6A for B:
\n" ); document.write( "\".6A%2B6=.75A\"

\r
\n" ); document.write( "\n" ); document.write( "

Subtract .6A from both sides:
\n" ); document.write( "\"6=.15A\"

\r
\n" ); document.write( "\n" ); document.write( "

Now divide both sides by .15
\n" ); document.write( "\"40=A\"

\r
\n" ); document.write( "\n" ); document.write( "

So there were 40 kids in all on the first day. 60% of them were boys, so:
\n" ); document.write( "\".6%2840%29=B\"
\n" ); document.write( "\"24=B\"

\r
\n" ); document.write( "\n" ); document.write( "

40-24=G
\n" ); document.write( "\"G=16\"

\r
\n" ); document.write( "\n" ); document.write( "So on the first day of school, there were 24 boys and 16 girls.
\n" ); document.write( "
\n" );