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