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

Jan 15, 2017

$x = 3$, $y = 4$

#### Explanation:

Given:

$\left\{\begin{matrix}x + y = 7 \\ 2 x - y = 2\end{matrix}\right.$

Add the two equations to eliminate $y$ and get:

$3 x = 9$

Divide both sides by $3$ to find:

$x = 3$

Then:

$y = 7 - x = 7 - 3 = 4$