The inverse function is NOT given by x = y + 1/y
To see this, just use a test value. e.g., if x = 2, then y(2) will give you some value. If you then plug this value into your "inverse" function (i.e. x(y(2)), you should get back 2. But you don't, because:
y(2) = 2 + 1/2 = 5/2
x(5/2) = 5/2 + 2/5 = 25/10 + 4/10 = 29/10
29/10 is not equal to 2. Since you didn't get back what you started with, your "inverse" function x(y) must be wrong.
To get the actual inverse function, solve the equation to find x in terms of y. In other words, solve the equation for x. Hint: you'll find that the function does not have a unique inverse.