y+x=4

5x-7y=8

using substitution,

5x - 7(4-x) = 8
solve for x, and then y = 4-x