a) \(\left(x^2y^2-\dfrac{1}{2}xy+2y\right)\left(x-2y\right)\)
\(=x^3y^2-2x^2y^3-\dfrac{1}{2}x^2y+xy^2+2xy-4y^2\)
b) \(\left(x^2-xy+y^2\right)\left(x+y\right)\)
\(=x^3+x^2y-x^2y-xy^2+xy^2+y^3\)
\(=x^3+\left(x^2y-x^2y\right)+\left(-xy^2+xy^2\right)+y^3\)
\(=x^3+y^3\)