document.write( "Question 1033638: A drama class has a total of
\n" ); document.write( "38
\n" ); document.write( " students. The number of males is
\n" ); document.write( "6
\n" ); document.write( " more than the number of females. How many males and how many females are in the class?
\n" ); document.write( "

Algebra.Com's Answer #648300 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Let's call their numbers, m and f.
\n" ); document.write( "Then we write
\n" ); document.write( "m + f = 38 and
\n" ); document.write( "m = f + 6
\n" ); document.write( "Now substitute the second one into the first one and get
\n" ); document.write( "f+6 + f = 38
\n" ); document.write( "2f + 6 = 38
\n" ); document.write( "2f = 32
\n" ); document.write( "f = 16 females which means there are
\n" ); document.write( "m = 16 + 6 = 22 males
\n" ); document.write( "
\n" );