document.write( "Question 166945: help me solve: The sum of 2 numbers is 40 and their difference is 18 \n" ); document.write( "
Algebra.Com's Answer #122980 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
The sum of 2 numbers is 40 and their difference is 18
\n" ); document.write( ".
\n" ); document.write( "Let x = one of two numbers
\n" ); document.write( "and y = the second number
\n" ); document.write( ".
\n" ); document.write( "x + y = 40
\n" ); document.write( "x - y = 18
\n" ); document.write( ".
\n" ); document.write( "Using the \"elimination method\" add the two equations together:
\n" ); document.write( "x + y = 40
\n" ); document.write( "x - y = 18
\n" ); document.write( "-----------
\n" ); document.write( "2x = 58
\n" ); document.write( "x = 29
\n" ); document.write( ".
\n" ); document.write( "Substitute the above into:
\n" ); document.write( "x + y = 40
\n" ); document.write( "29 + y = 40
\n" ); document.write( "y = 40 - 29
\n" ); document.write( "y = 11
\n" ); document.write( ".
\n" ); document.write( "The two numbers are 29 and 11
\n" ); document.write( "
\n" ); document.write( "
\n" );