document.write( "Question 250211: solve the system of equations using the substitution method. write the solution as an ordered pair.\r
\n" ); document.write( "\n" ); document.write( "y=3x
\n" ); document.write( "y-x=18
\n" ); document.write( "

Algebra.Com's Answer #182146 by tutorcecilia(2152)\"\" \"About 
You can put this solution on YOUR website!
y=3x
\n" ); document.write( "y-x=18
\n" ); document.write( ".
\n" ); document.write( "y-x=18 [plug in y=3x for the y-term]
\n" ); document.write( "(3x)-x=18 [solve for the x-term]
\n" ); document.write( "2x=18
\n" ); document.write( "2x/2=18/2
\n" ); document.write( "x=9
\n" ); document.write( ".
\n" ); document.write( "y=3x [ plug-in x=9 into either equation and solve for the y-value]
\n" ); document.write( "y=3(9)
\n" ); document.write( "y=27
\n" ); document.write( ".
\n" ); document.write( "Check by plugging both x and y-values into either equation:
\n" ); document.write( "y-x=18
\n" ); document.write( "27-9=18
\n" ); document.write( "18=18 [checks out]\r
\n" ); document.write( "\n" ); document.write( ".
\n" ); document.write( "Solution (9, 27)
\n" ); document.write( "
\n" ); document.write( "
\n" );