We will have the following:
*First: We would determine the piecewise function that describes the graph.
Since we can see that the function increases by a factor of 2 and decreases by the same factor we would have:
This is:
*Second: We calculate the inverse of the piecewise function:
That is:
From this we can see that the inverse of that graph would in fact represent a function, a non-continuous function. [It will represent a function as long as it follows the parameters stablished in the first point]