# How do you solve the system x=y-7 and x+8y=2 using substitution?

Mar 5, 2018

$\textcolor{red}{x = - 6 , y = 1}$

#### Explanation:

$x = y - 7$ Eqn (1)

$x + 8 y = 2$ Eqn (2)

Substituting value of x in terms of y in Eqn (2),

$\left(y - 7\right) + 8 y = 2$

$9 y - 7 = 2$

$9 y = 2 + 7 = 9$ or $y = 1$

Substituting value of y in Eqn (1),

$x = 1 - 7 = - 6$