document.write( "Question 24015: Solve the equation using the substitution method
\n" ); document.write( "6x+2y=16
\n" ); document.write( "-2x+y=-2
\n" ); document.write( "

Algebra.Com's Answer #12722 by yhtong(11)\"\" \"About 
You can put this solution on YOUR website!
your questions are:\r
\n" ); document.write( "\n" ); document.write( "6x+2y=16 ------- 1
\n" ); document.write( "-2x+y=-2 ------- 2\r
\n" ); document.write( "\n" ); document.write( "pick either equation 1 or 2, i would choose equation 2 because its easier.
\n" ); document.write( "in equation 2 i would like to solve y. In this case, bring all numbers and unknown except y to the right hand side (RHS)\r
\n" ); document.write( "\n" ); document.write( "y=-2+2x ------ 3(i will name this equation 3)\r
\n" ); document.write( "\n" ); document.write( "next, substitute y in equation 3 to equation 1. That makes\r
\n" ); document.write( "\n" ); document.write( "6x+2(-2+2x)=16. The equation in the brackets is the value of y in equation 3 that i chose earlier\r
\n" ); document.write( "\n" ); document.write( "That makes\r
\n" ); document.write( "\n" ); document.write( "6x-4+4x=16, solve this by using linear equation
\n" ); document.write( "=6x+4x-4=16
\n" ); document.write( "=10x-4=16
\n" ); document.write( "=10x =16+4
\n" ); document.write( "=10x =20
\n" ); document.write( "=x =20/10
\n" ); document.write( "=x =2\r
\n" ); document.write( "\n" ); document.write( "now that you know the value of x is 2, substitute the x into equation 3 to know what value is y\r
\n" ); document.write( "\n" ); document.write( "y=-2+2x
\n" ); document.write( "y=-2+2(2)
\n" ); document.write( "y=-2+4
\n" ); document.write( "y=2\r
\n" ); document.write( "\n" ); document.write( "now we have both x and y values and the values are
\n" ); document.write( "x=2,y=2
\n" ); document.write( "
\n" ); document.write( "
\n" );