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

$x = 2 , y = 3$

#### Explanation:

$- 2 x + y = - 1$...................................(i)
$x + y = 5$................................................(ii)

From (i),
$y = 2 x - 1$............................(iii)

Substituting y = 2x -1 in eq(ii),

$x + \left(2 x - 1\right) = 5$

$\Rightarrow$ $x + 2 x - 1 = 5$

$\Rightarrow$ $3 x = 6$

$\Rightarrow$ $x = 2$

Substituting x = 2 in eq (ii),
$2 + y = 5$

$\Rightarrow$ $y = 3$