In order to graph the inverse function from the graph of a previous function, we need to draw the line y=x and reflect it over, the result will be the graph of the inverse.
Then, the correct graph for the inverse function is:
The orange line represents the line y=x and the blue line is the reflection of the original function over the line y=x, in other words, the inverse function.