document.write( "Question 796089: the sum of two integers is 118. Find the two integers if the larger one is 6 less than three times the smaller one. \n" ); document.write( "
Algebra.Com's Answer #806200 by CubeyThePenguin(3113)\"\" \"About 
You can put this solution on YOUR website!
x + y = 118
\n" ); document.write( "y = 3x - 6\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Substitute the second equation into the first equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x + (3x - 6) = 118
\n" ); document.write( "4x = 124
\n" ); document.write( "x = 31\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The integers are x = 31 and y = 87.
\n" ); document.write( "
\n" ); document.write( "
\n" );