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