\n" );
document.write( "Hi,
\n" );
document.write( "Solving by elimination method
\n" );
document.write( "3x + 5y = 10
\n" );
document.write( "2x + 5y = -5\r
\n" );
document.write( "\n" );
document.write( "3x + 5y = 10
\n" );
document.write( "-2x - 5y = 5 |subtracting 2nd EQ from the 1st EQ
\n" );
document.write( " x = 15 and y = -7 (30+5y = -5, 5y = -35, y = -7)\r
\n" );
document.write( "\n" );
document.write( "CHECKING our Answer***
\n" );
document.write( " 3*15 + 5*(-7) = 45 - 35 = 10
\n" );
document.write( "