document.write( "Question 24587: Solve the system of equations by substitution: y= xsquared+2x-2 and y=3x+4
\n" ); document.write( "thanx
\n" ); document.write( "

Algebra.Com's Answer #13165 by meghanjax13(2)\"\" \"About 
You can put this solution on YOUR website!
y=x^2+2x-2
\n" ); document.write( "y=3x+4
\n" ); document.write( "substitute 3x+4 for y in the first equation.
\n" ); document.write( "3x+4=x^2+2x-2
\n" ); document.write( "Then solve.
\n" ); document.write( "0=x^2-x-6
\n" ); document.write( "Factor.
\n" ); document.write( "x=3\r
\n" ); document.write( "\n" ); document.write( "Substitute x back into the equation to find y.
\n" ); document.write( "y=3(3)+4
\n" ); document.write( "y=13\r
\n" ); document.write( "\n" ); document.write( "Check by substituting x and y into the first equation to make sure it works.
\n" ); document.write( "y=x^2+2x-2
\n" ); document.write( "13=3^2+2(3)-2
\n" ); document.write( "13=13\r
\n" ); document.write( "\n" ); document.write( "Hope I could help.
\n" ); document.write( "
\n" );