To factor $ 24p^{3}+15p^{2}-56p-35 $ we can use factoring by grouping:
Group $ \color{blue}{ 24x^{3} }$ with $ \color{blue}{ 15x^{2} }$ and $ \color{red}{ -56x }$ with $ \color{red}{ -35 }$ then factor each group.
$$ \begin{aligned} 24p^{3}+15p^{2}-56p-35 = ( \color{blue}{ 24x^{3}+15x^{2} } ) + ( \color{red}{ -56x-35 }) &= \\ &= \color{blue}{ 3x^{2}( 8x+5 )} + \color{red}{ -7( 8x+5 ) } = \\ &= (3x^{2}-7)(8x+5) \end{aligned} $$