a,
\(\dfrac{18\left(x-y\right)^{10}}{2\left(x-y\right)^5}=9\left(x-y\right)^5\)
b, \(\dfrac{10\left(x-2\right)^{12}}{\left(2-x\right)^{10}}=\dfrac{10\left(x-2\right)^{12}}{\left(x-2\right)^{10}}=10\left(x-2\right)^2\)
c, \(\dfrac{-18\left(x-3\right)^5}{2\left(3-x\right)^3}=\dfrac{-18\left(x-3\right)^5}{-2\left(x-3\right)^3}=9\left(x-3\right)^2\)
d,\(\dfrac{x^2-6x+9}{x-3}=\dfrac{\left(x-3\right)^2}{x-3}=x-3\)
e, \(\dfrac{x^2-x-2}{x+1}=\dfrac{x^2-2x+x-2}{x+1}=\dfrac{\left(x-2\right)\left(x+1\right)}{x+1}=x-2\)