\[(5b - 1)\left( b^{2} - 5b + 1 \right) =\]
\[= 5b^{3} - 25b^{2} + 10b - b^{2} - 1 =\]
\[= 5b³ - 26b^{2} + 10b - 1.\]