How to find the inverse function of x square + 1 of y = 2 Inverse function of x square + 1 of y = 2

How to find the inverse function of x square + 1 of y = 2 Inverse function of x square + 1 of y = 2

The inverse function is y for X
X square + 1 of y = 2
X square of 2 = Y-1
X square of 2 = 1 / 2 (Y-1)
x=log2(1/2(y-1))
x=-1+log2(y-1)
So the inverse function of x square + 1 of y = 2 is y = - 1 + log2 (x-1)