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

Aug 2, 2015

The solution for the system of equations is
color(blue)(x=6, y=-10

#### Explanation:

x−color(blue)(y)=16 .....equation $\left(1\right)$
$2 x + \textcolor{b l u e}{y} = 2$.....equation $\left(2\right)$

Upon adding the two equations color(blue)(y gets eliminated.

x−cancelcolor(blue)(y)=16
$2 x + \cancel{\textcolor{b l u e}{y}} = 2$

$3 x = 18$
color(blue)(x=6

Now, we substitute the value of $x$ to find $y$
From equation $1$:

x−y=16

x−16=y

$y = 6 - 16$
color(blue)(y=-10