$$\left. \begin{array} { l } { x ^ { 2 } - x - 2 } \end{array} \right.$$
$\left(x-2\right)\left(x+1\right)$