The first step is to find the inverse of the given function.
To do it, you need to solve the given equation for x, it means isolate x to one of the sides of the equal sign, this way:
Now, change x for f^-1(x) and f(x) for x:
Now, find the value of the inverse function when x=-1. To do it, replace every x in the equation for -1:
The answer is 4.