Question

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

Answer

x-2

Solution


Factor \({x}^{2}-x-2\).
\[\frac{(x-2)(x+1)}{x+1}\]
Cancel \(x+1\).
\[x-2\]