# How do you factor by grouping x^3+5x^2-6x-30?

Collect $x$ between the first and third term and $5$ between the second and fourth:
$x \left({x}^{2} - 6\right) + 5 \left({x}^{2} - 6\right)$
Collect $\left({x}^{2} - 6\right)$ to get:
$\left({x}^{2} - 6\right) \left(x + 5\right)$