Substitution method:
\n" );
document.write( "1. Solve one equation for one of the variables.
\n" );
document.write( "2. Substitute that value for the variable in the second equation.
\n" );
document.write( "3. Solve the second equation for the remaining variable.
\n" );
document.write( "4. Substitute that value into the first equation to find the value of the first variable.
\n" );
document.write( "1. 6x - 5y = 3
\n" );
document.write( "6x = 5y + 3
\n" );
document.write( "x = (5/6)y + 1/2
\n" );
document.write( "2. 4x + 3y = 21 (sub (5/6)y + 1/2 for x)
\n" );
document.write( "4((5/6)y + 1/2) + 3y = 21
\n" );
document.write( "(20/6)y + 2 + 3y = 21
\n" );
document.write( "(10/3) y + (9/3)y = 19
\n" );
document.write( "19y = 57
\n" );
document.write( "y = 3
\n" );
document.write( "x = (5/6)y + 1/2
\n" );
document.write( "x = (5/6)* 3 + 1/2 = 5/2 + 1/2 = 6/2 = 3
\n" );
document.write( "