document.write( "Question 1053100: Solve the system of equations for x and y. gx+hy=i jx+ny=p \n" ); document.write( "
Algebra.Com's Answer #668374 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Solve the system of equations for x and y.
\n" ); document.write( "gx+hy=i
\n" ); document.write( "jx+ny=p
\n" ); document.write( "---------
\n" ); document.write( "gjx + hjy = i*j --- 1st eqn times j
\n" ); document.write( "gjx + gny = g*p --- 2nd eqn times g
\n" ); document.write( "----------------------------------------- Subtract
\n" ); document.write( "(hj - gn)y = ij - gp
\n" ); document.write( "y = (ij - gp)/(hj - gn)
\n" ); document.write( "---
\n" ); document.write( "sub for y in the 1st eqn
\n" ); document.write( "gx + hy = i
\n" ); document.write( "gx + h*(ij - gp)/(hj - gn) = i
\n" ); document.write( "gx = i -h*(ij - gp)/(hj - gn)
\n" ); document.write( "x = i/g -h*(ij - gp)/(ghj - g^2n)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );