document.write( "Question 438135: y=3x+8
\n" ); document.write( "5x+2y=5
\n" ); document.write( "

Algebra.Com's Answer #303208 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
y = 3x + 8
\n" ); document.write( "5x + 2y = 5
\n" ); document.write( ":
\n" ); document.write( "use the first equation as substitution for y in the 2nd equation
\n" ); document.write( "5x + 2(3x+8) = 5
\n" ); document.write( "5x + 6x + 16 = 5
\n" ); document.write( "5x + 6x = 5 - 16
\n" ); document.write( "11x = -11
\n" ); document.write( "x = \"%28-11%29%2F11\"
\n" ); document.write( "x = -1
\n" ); document.write( ":
\n" ); document.write( "Find y using the 1st equation
\n" ); document.write( "y = 3(-1) + 8
\n" ); document.write( "y = -3 + 8
\n" ); document.write( "y = 5
\n" ); document.write( ":
\n" ); document.write( "Check your solutions in the 2nd equation
\n" ); document.write( "5(-1) + 2(5) = 5
\n" ); document.write( "-5 + 10 = 5; confirms our solution of x=-1, y=5
\n" ); document.write( "
\n" );