find the inverse of the one to one function.

The inverse of a function is simply swapping the independent variable x for the dependent variable y.
f(x) = y in this case
So, the easiest thing to do is replace x with y and f(x) with x and you get x = (2y+5)/ 7. Then its just a matter of solving for y.