document.write( "Question 964767: How would I solve this by substitution? I keep coming up with the wrong answer.\r
\n" ); document.write( "\n" ); document.write( "4x+y=-5
\n" ); document.write( "5x-3y=15
\n" ); document.write( "

Algebra.Com's Answer #589630 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
4x+y=-5
\n" ); document.write( "5x-3y=15
\n" ); document.write( ":
\n" ); document.write( "rearrange the 1st equation
\n" ); document.write( "4x + y = -5
\n" ); document.write( "y = -4x - 5
\n" ); document.write( ":
\n" ); document.write( "replace y with (-4x-5) in the 2nd equation
\n" ); document.write( "5x - 3(-4x-5) = 15
\n" ); document.write( "5x + 12x + 15 = 15
\n" ); document.write( "17x = 15 - 15
\n" ); document.write( "17x = 0
\n" ); document.write( "x = 0
\n" ); document.write( ":
\n" ); document.write( "Find y using the 1st equation;
\n" ); document.write( "4(0) + y = -5
\n" ); document.write( "Y = -5
\n" ); document.write( ":
\n" ); document.write( "Solution: x = 0, y = -5
\n" ); document.write( ":
\n" ); document.write( "Check this in the 2nd equation
\n" ); document.write( "5(0) - 3(-5) = 15
\n" ); document.write( "15 = 15
\n" ); document.write( "
\n" );