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

Jun 8, 2016

$x = 2 \text{ and } y = 1$

#### Explanation:

In this case we have a perfect scenario because the y terms are additive inverses. When the two equations are added, the y terms will add to 0.

$2 x + y = 5 \text{ A}$
$x - y = 1 \text{ B}$

A + B: $\text{ } 3 x = 6$
$\text{ } x = 2$

Substitute $x = 2$ in B
$2 - y = 1$
$2 - 1 = y$
$1 = y$