x(x^2−5x−2)+24=0