Point A having coordinates (3,-7) lies on the curve y=f(X). State the coordinates of A when y=f(X) is transformed to y=f(2x-7)+1.

The answer is (5,-6).But I didn't get 5.