# How do you solve x+y=6 and x-y=2?

Mar 27, 2016

$\left(x , y\right) = \left(4 , 2\right)$

#### Explanation:

color(blue)(x+y=6

color(blue)(x-y=2

We can get rid of $y$ in the first equation by $- y$ in the second equation.

$\therefore$ Add the equations

$\rightarrow \left(x + y = 6\right) + \left(x - y = 2\right)$

$\rightarrow 2 x = 8$

rArrcolor(green)(x=8/2=4

Substitute the value of $x$ to the first equation

$\rightarrow 4 + y = 6$

$\rightarrow y = 6 - 4$

rArrcolor(green)(y=2