a, \(\dfrac{xy^3-yx^3}{x^2-xy}\)
= \(\dfrac{xy\left(y^2-x^2\right)}{x\left(x-y\right)}\)
= \(\dfrac{xy\left(y-x\right)\left(y+x\right)}{-x\left(y-x\right)}\)
= - y(x + y)
= -xy + y2
b, \(\dfrac{y\left(2x-x^2\right)}{x\left(2y+y^2\right)}\)
= \(\dfrac{xy\left(2-x\right)}{xy\left(2+y\right)}\)
= \(\dfrac{2-x}{2+y}\)