d: \(D=\dfrac{\left(x+2\right)^2}{\left(x+2\right)\left(x+1\right)}\cdot\dfrac{\left(x-2\right)\left(x+2\right)}{x-2}=\dfrac{\left(x+2\right)^2}{x+1}\)
a: \(=\dfrac{y^2\left(x-2\right)\left(x+2\right)}{4xy}\cdot\dfrac{x^2y}{xy\left(2-x\right)}\)
\(=\dfrac{-y^2\left(2-x\right)\left(2+x\right)}{4}\cdot\dfrac{x}{xy\left(2-x\right)}\)
\(=\dfrac{-y\left(x+2\right)}{4}\)