Rút gọn:
\(A=\dfrac{x}{5-x}+\left(\dfrac{x}{x^2-25}+\dfrac{5-x}{5x+x^2}\right):\dfrac{2x-5}{x^2+5x}\)
\(B=\left[\left(\dfrac{1}{x^2}+1\right)\cdot\dfrac{1}{1+2x+x^2}+\left(1+\dfrac{1}{x}\right)\cdot\dfrac{2}{\left(1+x\right)^3}\right]:\dfrac{x-1}{x^3}\)