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

Aug 10, 2015

The answer is $x = 1$ ; $y = 1$

#### Explanation:

Since

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

We shall have

$- x + 2 = 3 x - 2$

$- x + 2 - 3 x + 2 = 0$

$- 4 x + 4 = 0$

$- 4 x = - 4 \implies x = \frac{- 4}{- 4} = 1$

Substitute $x = 1$ in the first equation to get

$y = - 1 + 2$

$y = 1$