for the curve f(x)=(x+1)^2-3 above, place a restriction on the domain so that the inverse is a function