document.write( "Question 750832: There are 40 pupils in a class. There are X more girls than boys. How many boys are there in terms of X? \n" ); document.write( "
Algebra.Com's Answer #456816 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
There are 40 pupils in a class. There are X more girls than boys. How many boys are there in terms of X?
\n" ); document.write( "-----
\n" ); document.write( "Let # of boys be \"b\":
\n" ); document.write( "Then # of girls is \"b+x\"
\n" ); document.write( "----
\n" ); document.write( "Equation:
\n" ); document.write( "b + b + x = 40
\n" ); document.write( "2b + x = 40
\n" ); document.write( "2b = 40-x
\n" ); document.write( "# of boys = b = (40-x)/2
\n" ); document.write( "----
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "===============
\n" ); document.write( "
\n" );