\(A=\frac{x^2+2x}{2x+10}+\frac{x-5}{x}+\frac{50-5x}{2x\left(x+5\right)}\)
\(=\frac{x\left(x+2\right)}{2\left(x+5\right)}+\frac{x-5}{x}+\frac{5\left(10-x\right)}{2x\left(x+5\right)}\)
\(=\frac{x^2\left(x+2\right)+2\left(x+5\right)\left(x-5\right)+5\left(10-x\right)}{2x\left(x+5\right)}\)
\(=\frac{x^3+2x+2x^2-50+50-5x}{2x\left(x+5\right)}\)
\(=\frac{x^3-3x+2x^2}{2x\left(x+5\right)}=\frac{x\left(x^2+2x-3\right)}{2x\left(x+5\right)}\)
\(=\frac{\left(x-1\right)\left(x+3\right)}{2\left(x+5\right)}\)