document.write( "Question 1159839: There are 40 pupils in a class. Each girl is given 5 books and each boy is given 4 books. The girls have 65 more books than the boys. How many more girls than boys are there in the class?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #782927 by ikleyn(52787)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "From the condition, you have these two equations\r\n" );
document.write( "\r\n" );
document.write( "     G +  B = 40      (1)\r\n" );
document.write( "\r\n" );
document.write( "    5G - 4B = 65      (2)\r\n" );
document.write( "\r\n" );
document.write( "where G is the number of girls and B is the number of boys.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "From equation (1), express  B = 40-G and substitute it into equation (2), replacing B there. You will get\r\n" );
document.write( "\r\n" );
document.write( "    5G - 4*(40-G) = 65\r\n" );
document.write( "\r\n" );
document.write( "    5G + 4G       = 65 + 160\r\n" );
document.write( "\r\n" );
document.write( "     9G           = 225\r\n" );
document.write( "\r\n" );
document.write( "      G           = 225/9 = 25.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  25 girls and the rest, 40-25 = 15 are boys.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );