Answer
$(x-1)(x^2+2)$
Work Step by Step
Regroup to obtain
$(x^3-x^2)+(2x-2)$.
Factor out $x^2$ in the first group and $2$ in the second:
$x^2(x-1)+2(x-1)$.
Factor out $(x-1)$ to obtain
$(x-1)(x^2+2)$.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.