document.write( "Question 367408: how do u solve for substitution
\n" ); document.write( "y=3x
\n" ); document.write( "5x+2y=
\n" ); document.write( "

Algebra.Com's Answer #261901 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
how do u solve for substitution
\n" ); document.write( "y=3x
\n" ); document.write( "5x+2y=
\n" ); document.write( "
\r\n" );
document.write( "You forgot to put the number after the equal sign on the second equation.\r\n" );
document.write( "\r\n" );
document.write( "I will assume you meant it to be 22.  So I'll pretend it's this:\r\n" );
document.write( "\r\n" );
document.write( "         y = 3x\r\n" );
document.write( "   5x + 2y = 22\r\n" );
document.write( "\r\n" );
document.write( "Replace the y in the 2nd equation by what y equals in the 1st, namely (3x)\r\n" );
document.write( "\r\n" );
document.write( "5x + 2(3x) = 22\r\n" );
document.write( "   5x + 6x = 22\r\n" );
document.write( "       11x = 22\r\n" );
document.write( "         x = 2\r\n" );
document.write( "\r\n" );
document.write( "Substitute (2) for x in y = 3x\r\n" );
document.write( "\r\n" );
document.write( "         y = 3x\r\n" );
document.write( "         y = 3(2)\r\n" );
document.write( "         y = 6\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );