# How do you simplify (3x^2 - 9)/(x^2 + x - 2)?

$\frac{3 \left(x + 1\right)}{x + 2}$
$\frac{3 {x}^{2} - 9}{{x}^{2} + x - 2}$
$\textcolor{w h i t e}{\text{XXXX}} = \frac{3 \left(x + 1\right) \left(x - 1\right)}{\left(x + 2\right) \left(x - 1\right)}$
$\textcolor{w h i t e}{\text{XXXX}} = \frac{3 \left(x + 1\right)}{x + 2}$