{y=x-2}

4x+y=8

Use substitution.

put the first equation into the second, so...
4x + (x-2) = 8 then take it from there

once you get x, put that back into the first equation.