This question was asked in Example 23
Sir can we solve it like 
Step.1- write x in terms of y........[i.e. x=g(y)]
Step.2- interchange x and y
Step.3- the new expression in x is the inverse function
Akash Anand's image