\(A=\dfrac{2x+1}{x\left(2x+1\right)}-\dfrac{x^2}{x\left(2x+1\right)}+\dfrac{2x^2-3x-1}{x\left(2x+1\right)}\)
\(=\dfrac{2x+1-x^2+2x^2-3x-1}{x\left(2x+1\right)}\)
\(=\dfrac{x^2-x}{x\left(2x+1\right)}=\dfrac{x\left(x-1\right)}{x\left(2x+1\right)}\)
\(=\dfrac{x-1}{2x+1}\)
\(=\dfrac{2x+1}{x\left(2x+1\right)}-\dfrac{x^2}{x\left(2x+1\right)}+\dfrac{2x^2-3x-1}{x\left(2x+1\right)}\)
\(=\dfrac{2x+1-x^2+2x^2-3x-1}{x\left(2x+1\right)}\)
\(=\dfrac{x^2+x}{x\left(2x+1\right)}\)
\(=\dfrac{x-1}{2x+1}\).