${x}^{2}+5x-6x-30$
Factor out $x$ from the expression$x \times \left( x+5 \right)-6x-30$
Factor out $-6$ from the expression$x \times \left( x+5 \right)-6\left( x+5 \right)$
Factor out $x+5$ from the expression$\left( x+5 \right) \times \left( x-6 \right)$