domain of y=1/x+2 is all reals except-2 where we have a vertical asymptote (-inf,-2) (-2,inf)
for the inverse function exchange x for y and solve for y so x=1/y+2
y+2 =1/x
y= (1/x) + 2 domains all reals except zero
the range of both functions is all reals (-infinity,+infinity)
Fred J.
Correction: y+2 =1/x (you should be subtracting 2 from both sides giving the below) y= (1/x) - 204/13/19