\(A=\left(\dfrac{x}{x+2}+\dfrac{8x+8}{x^2+2x}-\dfrac{x+2}{x}\right):\left(\dfrac{x^2-x-3}{x^2+2x}+\dfrac{1}{x}\right)\)
\(\Leftrightarrow A=\left(\dfrac{x^2}{x\left(x+2\right)}+\dfrac{8x+8}{x\left(x+2\right)}-\dfrac{\left(x+2\right)^2}{x\left(x+2\right)}\right):\left(\dfrac{x^2-x-3}{x\left(x+2\right)}+\dfrac{x+2}{x\left(x+2\right)}\right)\)
\(\Leftrightarrow A=\dfrac{x^2+8x+8-\left(x+2\right)^2}{x\left(x+2\right)}:\dfrac{x^2-x-3+x+2}{x\left(x+2\right)}\)
\(\Leftrightarrow A=\dfrac{x^2+8x+8-x^2-4x-4}{x\left(x+2\right)}:\dfrac{x^2-1}{x\left(x+2\right)}\)
\(\Leftrightarrow A=\dfrac{4x+4}{x\left(x+2\right)}.\dfrac{x\left(x+2\right)}{\left(x-1\right)\left(x+1\right)}\)
\(\Leftrightarrow A=\dfrac{4\left(x+1\right)}{x\left(x+2\right)}.\dfrac{x\left(x+2\right)}{\left(x-1\right)\left(x+1\right)}\)
\(\Leftrightarrow A=\dfrac{4}{x-1}\)
\(A=\dfrac{x^2+8x+8-x^2-4x-4}{x\left(x+2\right)}:\dfrac{x^2-x-3+x^2+2x}{x\left(x+2\right)}\)
\(=\dfrac{4\left(x+1\right)}{x-3}\)