Given Expression
[tex] \rm \hookrightarrow \: x ( \: x^2+13x+40)[/tex]
Can Be Written As
[tex] \rm \hookrightarrow \: {x}^{2} + 13x + 40[/tex]
Now,
[tex] \rm \hookrightarrow \: {x}^{2} + 5x + 8x+ 40[/tex]
[tex] \rm \hookrightarrow \: {x}(x +5) + 8(8x + 5)[/tex]
[tex] \star\boxed{ \rm { \pmb {\pmb {\pmb\pink\hookrightarrow \pink{ \:( x + 5)(x + 8)}}}}}[/tex]