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