document.write( "Question 282189: How do I solve for this using substitution.
\n" ); document.write( "5x+8y=18
\n" ); document.write( "x=6-2y
\n" ); document.write( "

Algebra.Com's Answer #204909 by oberobic(2304)\"\" \"About 
You can put this solution on YOUR website!
Substitution is done by...well...substitution.
\n" ); document.write( "You use one equation to find a value for 'x'.
\n" ); document.write( "Then you substitute that into the other equation.
\n" ); document.write( ".
\n" ); document.write( "5x + 8y = 18
\n" ); document.write( "x = 6 -2y
\n" ); document.write( ".
\n" ); document.write( "So the second equation is a easy substitution candidate into the first equation.
\n" ); document.write( ".
\n" ); document.write( "5(6-2y) +8y = 18
\n" ); document.write( "30 -10y +8y = 18
\n" ); document.write( "30 -2y = 18
\n" ); document.write( "-2y = -12
\n" ); document.write( "y = 6
\n" ); document.write( ".
\n" ); document.write( "Now substitute back to find 'x'.
\n" ); document.write( ".
\n" ); document.write( "x = 6 -2(y)
\n" ); document.write( "x = 6 -2(6)
\n" ); document.write( "x = 6 -12
\n" ); document.write( "x = -6
\n" ); document.write( ".
\n" ); document.write( "Check by plugging these values into the other equation to ensure they're right.
\n" ); document.write( ".
\n" ); document.write( "5x + 8y = 18
\n" ); document.write( "5(-6) + 8(6) = 18??
\n" ); document.write( "-30 +48 = 18
\n" ); document.write( "Correct!
\n" ); document.write( ".
\n" ); document.write( "Answer:
\n" ); document.write( "x = -6
\n" ); document.write( "y = 6
\n" ); document.write( ".
\n" ); document.write( "Done.
\n" ); document.write( "
\n" );