x = 2y + 7 (*)
x = y + 4 (**)
Substitute (*) to (**):
2y + 7 = y + 4 subtract 7 from both sides
2y = y - 3 subtract y from both sides
Put the value of y to the second equation:
x = -3 + 4