document.write( "Question 962420: Solve by the addition method (elimination)
\n" ); document.write( "2x - 4y = 24
\n" ); document.write( "3x + 5y = 14
\n" ); document.write( "

Algebra.Com's Answer #588032 by hkwu(60)\"\" \"About 
You can put this solution on YOUR website!
We have\r
\n" ); document.write( "\n" ); document.write( "3x + 5y + (2x -4y) = 24 + 14 (#2 + #1)
\n" ); document.write( "5x + y = 38
\n" ); document.write( "y = 38 - 5x\r
\n" ); document.write( "\n" ); document.write( "Substitute back into one of the original equations (#1 or #2, it doesn't matter; I will substitute into #2), to get\r
\n" ); document.write( "\n" ); document.write( "3x + 5y = 14
\n" ); document.write( "3x + 5(38 - 5x) = 14
\n" ); document.write( "3x + 190 - 25x = 14
\n" ); document.write( "190 - 22x = 14
\n" ); document.write( "22x = 176
\n" ); document.write( "x = 8\r
\n" ); document.write( "\n" ); document.write( "Now do one final substitution to get the value of y.\r
\n" ); document.write( "\n" ); document.write( "y = 38 - 5x
\n" ); document.write( "y = 38 - 5(8)
\n" ); document.write( "y = -2\r
\n" ); document.write( "\n" ); document.write( "Your solution is x = 8, y = -2.
\n" ); document.write( "
\n" );