document.write( "Question 930255: When 1/5 of the boys left, there were still b boys and g girls who stayed to see
\n" ); document.write( "the end of the program. What was the total number of boys and girls at the beginning of the program?
\n" ); document.write( "

Algebra.Com's Answer #564891 by Edwin McCravy(20054)\"\" \"About 
You can put this solution on YOUR website!
When 1/5 of the boys left, there were still b boys and g girls who stayed to see
\n" ); document.write( "the end of the program. What was the total number of boys and girls at the beginning of the program?
\n" ); document.write( "
\r\n" );
document.write( "The problem doesn't say that any girls left, so we'll assume that no girls\r\n" );
document.write( "left, and so there were also g girls at the beginning of the program.\r\n" );
document.write( "\r\n" );
document.write( "Let x = the number of boys at the beginning of the program.\r\n" );
document.write( "\r\n" );
document.write( "Then we subtract one-fifth of x from x to get b boys: \r\n" );
document.write( "\r\n" );
document.write( "\"x\"\"%22%22-%22%22\"\"expr%281%2F5%29x\"\"%22%22=%22%22\"\"b\"\r\n" );
document.write( "\r\n" );
document.write( "Multiply through by 5:\r\n" );
document.write( "\r\n" );
document.write( "\"5x-x\"\"%22%22=%22%22\"\"5b\"\r\n" );
document.write( "\r\n" );
document.write( "\"4x\"\"%22%22=%22%22\"\"5b\"\r\n" );
document.write( "\r\n" );
document.write( "\"x\"\"%22%22=%22%22\"\"5b%2F4\"\r\n" );
document.write( "\r\n" );
document.write( "Checking:\r\n" );
document.write( "There were \"5b%2F4\" boys at the beginning, then \"expr%281%2F5%29%2Aexpr%285b%2F4%29=b%2F4\" left,\r\n" );
document.write( "and so there were \"5b%2F4-b%2F4=4b%2F4=b\" boys at the end.\r\n" );
document.write( "\r\n" );
document.write( "Answer: \"5b%2F4\" boys and g girls at the beginning.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );