a) Ta có: \(\frac{\left[2\left(y-x\right)^3-2\left(y-x\right)^2+\left(x-y\right)\right]}{y-x}\)
\(=\frac{2\left(y-x\right)^3}{y-x}-\frac{2\left(y-x\right)^2}{y-x}+\frac{x-y}{y-x}\)
\(=2\left(y-x\right)^2-2\left(y-x\right)-1\)
\(=2y^2-4yx+2x^2-2y+2x-1\)