Notice that the left side of the graph corresponds to y=-x, whereas the right side corresponds to another line. We can find the former by simply using two points. In this case (0,0) and (5,-3).
Then the equation of the line on the right side is:
So, the function is:
Since function f(x) has two parts, so does the inverse function.
Remember the definition of an inverse function, let g(x) be a function:
As for the left side of the function:
Now, the right side:
Thus, the inverse function is:
The range of the inverse function is:
For the first part of the function:
Merging both results: