document.write( "Question 421503: solve by the substitution method.\r
\n" ); document.write( "\n" ); document.write( "3x+8y=-5
\n" ); document.write( "x=3-5y\r
\n" ); document.write( "\n" ); document.write( "the solution is?
\n" ); document.write( "or there is no solution?
\n" ); document.write( "

Algebra.Com's Answer #294464 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
solve by the substitution method.
\n" ); document.write( "3x + 8y = -5
\n" ); document.write( "x = (3-5y); use this for substitution in the 1st equation
\n" ); document.write( ":
\n" ); document.write( "Replace x with (3-5y)
\n" ); document.write( "3(3-5y) + 8y = -5
\n" ); document.write( ";
\n" ); document.write( "Multiply what's inside the brackets by 3,
\n" ); document.write( "9 - 15y + 8y = -5
\n" ); document.write( ";
\n" ); document.write( "Subtract 9 from both sides
\n" ); document.write( "-15y + 8y = -5 - 9
\n" ); document.write( "-7y = -14
\n" ); document.write( ":
\n" ); document.write( "divide both sides by -7
\n" ); document.write( "y = \"%28-14%29%2F%28-7%29\"
\n" ); document.write( "y = +2
\n" ); document.write( ";
\n" ); document.write( "Find x using the 2nd equation, replace y with 2
\n" ); document.write( "x = 3 - 5(2)
\n" ); document.write( "x = 3 - 10
\n" ); document.write( "x = -7
\n" ); document.write( ";
\n" ); document.write( ":
\n" ); document.write( "Check solution using the 1st equation
\n" ); document.write( "3x + 8y = -5
\n" ); document.write( "replace x with -7, y with 2
\n" ); document.write( "3(-7) + 8(2) =
\n" ); document.write( "-21 + 16 = -5; confirms our solutions of x=-7, y=2
\n" ); document.write( "
\n" ); document.write( "
\n" );