How do you simplify (x^2-25)/(x^2+5x) and what are the ecluded values fot he variables?

$\frac{{x}^{2} - 25}{{x}^{2} + 5 x} = \textcolor{g r e e n}{1 - \frac{5}{x} , x \cancel{\in} \left\{- 5 , 0\right\}}$
$\frac{{x}^{2} - 25}{{x}^{2} + 5 x} = \frac{\left(x - 5\right) \left(\cancel{x + 5}\right)}{x \left(\cancel{x + 5}\right)}$ provided $x \ne - 5$
$\textcolor{w h i t e}{\text{XXX}} = 1 - \frac{5}{x}$ provided $x \ne 0$