get the domain of the f(x) = 3x + 2/ x+1