Factor LaTeX:  \displaystyle 8 x^{3} - x^{2} + 40 x - 5 .

Grouping the first two terms and factoring out their GCF, LaTeX:  \displaystyle x^{2} , gives LaTeX:  \displaystyle x^{2}(8 x - 1) . Grouping the last two terms and factoring out their GCF, LaTeX:  \displaystyle 5 , gives LaTeX:  \displaystyle 5(8 x - 1) . The polynomial now has a common binomial factor of LaTeX:  \displaystyle 8 x - 1 . This gives LaTeX:  \displaystyle x^{2} \left(8 x - 1\right) +5 \cdot \left(8 x - 1\right) = \left(8 x - 1\right) \left(x^{2} + 5\right) .