the domain, image, and classify f(x) = x^3 + 3x + 1