2x + 7y = 5
y = x + 2
Because we have a value of y, we can plug it into the first equation to solve for x.
2x + 7(x + 2) = 5
Distributive property.
2x + 7x + 14 = 5
Simplify like terms.
9x + 14 = 5
Subtract 14 from both sides.
9x = -9
Divide both sides by 9.
x = -1
Now that we have a value for x, we can solve for y.
y = (-1) + 2
y = 1