SOLUTION: solve For x and y x-5y=-12 -x+y=4

Algebra ->  Equations -> SOLUTION: solve For x and y x-5y=-12 -x+y=4      Log On


   



Question 1162986: solve
For x and y
x-5y=-12
-x+y=4

Answer by ikleyn(52776) About Me  (Show Source):
You can put this solution on YOUR website!
.


First, add the two given equations.

The terms "x"  and  "-x"  will cancel each other, and you will get


    -4y = -8;   hence,  y = %28-8%29%2F%28-4%29 = 2.


Substitute the found value y= 2 into the second equation.  You will get then


    -x + 2 = 4;   hence,  -x = 4-2 = 2,   or  x = -2.


ANSWER.  x= -2;  y= 2.

Solved.