inverse of f(x) = x^3 + 4x + 2