Question

$$\frac{ { x }^{ 2 } -x-2 }{ x-1 }$$

Evaluate

$\frac{\left(x-2\right)\left(x+1\right)}{x-1}$

Expand

$\frac{x^{2}-x-2}{x-1}$