x = 2 + y
2x = 3y - 4
Because we have a value of x, we can plug it into the second equation to solve for y.
2(2 + y) = 3y - 4
4 + 2y = 3y - 4
Subtract 2y from both sides.
4 = y - 4
Add 4 to both sides.
8 = y
We can plug this into the original equation to solve for x.
x = 2 + 8
x = 10