Step 1 :
The polynomial $ x^{4}+7x^{3}+9x^{2}-21x-36 $ can be factorized by using the rational root test. To apply this test first we need to find
at least one rational zero.
Polynomial roots calculator can be used to find rational zero.
In this case one rational zero is $ x = -3 $.
This means that we can divide polynomial $ x^{4}+7x^{3}+9x^{2}-21x-36 $ by $ x+3 $ (the factor theorem)
After division we have: (you can use Synthetic Division Calculator for the step-by-step explanation on how to divide polynomials. )
$$ \frac{ x^{4}+7x^{3}+9x^{2}-21x-36 }{ x+3 } = x^{3}+4x^{2}-3x-12 $$that is:
$$ x^{4}+7x^{3}+9x^{2}-21x-36 = ( x+3 )( x^{3}+4x^{2}-3x-12 ) $$Step 2 :
To factor $ x^{3}+4x^{2}-3x-12 $ we can use factoring by grouping:
Group $ \color{blue}{ x^{3} }$ with $ \color{blue}{ 4x^{2} }$ and $ \color{red}{ -3x }$ with $ \color{red}{ -12 }$ then factor each group.
$$ \begin{aligned} x^{3}+4x^{2}-3x-12 = ( \color{blue}{ x^{3}+4x^{2} } ) + ( \color{red}{ -3x-12 }) &= \\ &= \color{blue}{ x^{2}( x+4 )} + \color{red}{ -3( x+4 ) } = \\ &= (x^{2}-3)(x+4) \end{aligned} $$