Finding the inverse of a tricky function

I have been struggling to find the inverse of this function:

So I am looking for where all capital letters in f(x) represent constants!

But I don't know how to solve in terms of "x".

However I would also like to ask if it is correct to differentiate f(x) w.r.t. x to find f'(x) and invert that expression and integrate the result! It seems to me that this is not the right approach, because I tried it on a "simpler" function g(x)=x+sin(x) and it didn't produce the correct inverse function. But maybe I can get more "mileage" out of this approach.

Otherwise I don't know how to tackle this!

Any help is greatly appreciated!

Thanks!