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