(X+1)/2 = 4 - (X+2)/7

is the answer 5

thats what i got