A question has a diagram of function f, with no function given (please ignore the purple line):

If I wanted to find $f^{-1}(-1)$, would I draw the inverse of f along the x=y line and then find what $y$ is at $x=-1$?
So in this case, would the answer be $f^{-1}(-1)=5$?
Assuming you are plotting the function $y=f(x)$, draw the line $y=-1$ on the same diagram. The points where the line cuts the graph of $f$ are the points $(f^{-1}(-1),-1)$. You just need to draw vertical lines on each of those points to get the corresponding values for $x$.