\(\left(2x^3-5x^2-x+1\right):\left(2x+1\right)\)
\(=\left[x^2\left(2x+1\right)-3x\left(2x+1\right)+\left(2x+1\right)\right]:\left(2x+1\right)\)
\(=\left[\left(2x+1\right)\left(x^2-3x+1\right)\right]:\left(2x+1\right)=x^2-3x+1\)
\(\dfrac{2x^3-5x^2-x+1}{2x+1}\)
\(=\dfrac{2x^3+x^2-6x^2-3x+2x+1}{2x+1}\)
\(=x^2-3x+1\)