document.write( "Question 60616: Solve for x and y\r
\n" ); document.write( "\n" ); document.write( "6x-3y=9\r
\n" ); document.write( "\n" ); document.write( "5x+2y=-15
\n" ); document.write( "

Algebra.Com's Answer #41609 by susie(3)\"\" \"About 
You can put this solution on YOUR website!
to use the elimination method:
\n" ); document.write( "first you must get rid of one variable (x or y) using multiplication \r
\n" ); document.write( "\n" ); document.write( " 2(6x-3y=9)
\n" ); document.write( " 3(5x+2y=-15)
\n" ); document.write( "
\n" ); document.write( " 12x-6y=18 (then you add the 2 equations
\n" ); document.write( " 15x+6y=-45 which cancels out the y variable)
\n" ); document.write( "+ -----------
\n" ); document.write( " 27x = -27 (then divide both sides by 27 to isolate the x)
\n" ); document.write( " so x = -1
\n" ); document.write( " (then plug x into either equation to find y)
\n" ); document.write( "
\n" ); document.write( " 12(-1)-6y=18
\n" ); document.write( " -12-6y=18 (add 12 to both sides to isolate y)
\n" ); document.write( "
\n" ); document.write( " you end up with -6y=30 (then divide both sides by -6)
\n" ); document.write( "
\n" ); document.write( " so y=-5 x=-1 (you can plug both into an equation to check your answer)
\n" ); document.write( "
\n" );