document.write( "Question 668278: x+3y=18
\n" ); document.write( "3x-4y=2
\n" ); document.write( "

Algebra.Com's Answer #415431 by gwendolyn(128)\"\" \"About 
You can put this solution on YOUR website!
x+3y=18
\n" ); document.write( "3x-4y=2
\n" ); document.write( "First, let's isolate x in the first equation by subtracting 3y from both sides:
\n" ); document.write( "x+3y=18
\n" ); document.write( "x=18-3y
\n" ); document.write( "Then, we can plug in this value of x into the second equation:
\n" ); document.write( "3x-4y=2
\n" ); document.write( "3(18-3y)-4y=2
\n" ); document.write( "Now we can distribute the 3 to the value in parentheses:
\n" ); document.write( "54-9y-4y=2
\n" ); document.write( "Next, we combine like terms (the constants and the y values):
\n" ); document.write( "54-13y=2
\n" ); document.write( "52-13y=0
\n" ); document.write( "52=13y
\n" ); document.write( "To get the value of y, all we have to do is divide by 13:
\n" ); document.write( "4=y
\n" ); document.write( "And then we can plug this value into the first equation to find x:
\n" ); document.write( "x+3y=18
\n" ); document.write( "x+3*4=18
\n" ); document.write( "x+12=18
\n" ); document.write( "x=6\r
\n" ); document.write( "\n" ); document.write( "Finally, let's check these values by plugging them into the second equation:
\n" ); document.write( "3x-4y=2
\n" ); document.write( "3*6-4*4=2
\n" ); document.write( "18-16=2
\n" ); document.write( "2=2\r
\n" ); document.write( "\n" ); document.write( "This equation checks, so we know that y=4 and x=6.
\n" ); document.write( "
\n" );