ElictricPavlov already answered this but this is what he said "
X = (y+1)/(y+2) to get the inverse, switch x's and y 's then solve for x
y = (x+1)/(x+2)
(x+2)y = x+1
xy + 2y -x = 1
x ( y-1) = 1 - 2y
x = (1-2y)/(y-1) is the inverse h-1 (5) = -9/4 = - 2 1/4
"