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

Aug 4, 2015

The solution for the system of equations is
color(blue)(x=2,y=0

#### Explanation:

y=color(blue)(−3x+6.....equation $\left(1\right)$

3x−y=6.........equation $\left(2\right)$

Solving through substitution:
Substituting equation $1$ in equation $2$

3x−y=6

3x-color(blue)((−3x+6))=6

$3 x + 3 x - 6 = 6$

$6 x = 6 + 6$

color(blue)(x=2

Substituting $x$ in equation $1$ to find $y$
y=−3x+6

y=−3*2+6

y=−6+6

color(blue)(y=0