Solve

8x - (5x + 7)= 17
The solution is x= 8

Looks ok to me.