y = 1/x is already the inverse of that function.
When you solve for the inverse of a function, you interchange x and y then solve for a specific variable.
Let's say we had the function f(x) = x².
We interchange variables; x = y²
Take the square root of both sides; √x = √y²
Finally, simplify; √x = y or -√x = y
Best of Luck!