a: \(A=\dfrac{x^2+x+x}{\left(x-1\right)\left(x+1\right)}\cdot\dfrac{\left(x+1\right)^2}{2x+1}\)
\(=\dfrac{x^2+2x}{\left(x-1\right)}\cdot\dfrac{x+1}{2x+1}\)
\(=\dfrac{\left(x^2+2\right)\left(x+1\right)}{\left(2x+1\right)\left(x-1\right)}\)
b: Khi x=2 thì \(A=\dfrac{\left(4+2\right)\left(2+1\right)}{\left(2\cdot2+1\right)\left(2-1\right)}=\dfrac{18}{5}\)