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