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