Найдите значение выражения \(\frac{x}{x+2}-\left(\frac{x}{x^2-4}+\frac{x}{x^2-4x+4}\right):\frac{2x}{\left(2-x\right)^2}\).