\[(2x + 1)\left( 4x^{2} - 2x + 1 \right) - 4x\left( 2x^{2} - 1 \right) = 5x - 2\]
\[8x^{3} + 1 - 8x^{3} + 4x = 5x - 2\]
\[4x - 5x = - 2 - 1\]
\[- x = - 3\]
\[x = 3.\]