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