To factor $ 5x^{3}+8x^{2}+30x+48 $ we can use factoring by grouping:
Group $ \color{blue}{ 5x^{3} }$ with $ \color{blue}{ 8x^{2} }$ and $ \color{red}{ 30x }$ with $ \color{red}{ 48 }$ then factor each group.
$$ \begin{aligned} 5x^{3}+8x^{2}+30x+48 = ( \color{blue}{ 5x^{3}+8x^{2} } ) + ( \color{red}{ 30x+48 }) &= \\ &= \color{blue}{ x^{2}( 5x+8 )} + \color{red}{ 6( 5x+8 ) } = \\ &= (x^{2}+6)(5x+8) \end{aligned} $$