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

Oct 1, 2015

The solution is
color(blue)(x=4,y=2

#### Explanation:

$x + \textcolor{b l u e}{y} = 6$....equation $1$

$x \textcolor{b l u e}{- y} = 2$.......equation $2$

Solving by elimination.
Adding equations $1$ and $2$

$x + \cancel{\textcolor{b l u e}{y}} = 6$
$x - \cancel{\textcolor{b l u e}{y}} = 2$

$2 x = 8$
color(blue)(x=4

Finding $y$ by substituting $x$ in equation $1$

$x + y = 6$
$y = 6 - x$
$y = 6 - 4$
color(blue)(y=2