Divide out the common factor of \(x\).
Use the rational root theorem and factor theorem to determine a factor of the cubic factor. Test values include \(\pm 1, \pm 2, \pm 3, \pm 6\).
\[P(1)=(1)^3-2(1)^2-5(1)+6=0\]
Therefore, \((x-1)\) is a factor.
Use long division, synthetic division, or the “have and need” method to determine the quadratic factor for the next step.
The final step will be to factor the quadratic, if possible.