P(x) =x^3-5x^2-2x+24