b: (x-y)(x^2-2x+y)
\(=x^3-2x^2+xy-x^2y+2xy-y^2\)
\(=x^3-2x^2-x^2y+3xy-y^2\)
c: \(\left(x^2-y\right)\left(x+y^2\right)-\left(x-y\right)\left(x^2+xy+y^2\right)\)
\(=x^3+x^2y^2-xy-y^3-\left(x^3-y^3\right)\)
\(=x^2y^2-xy\)
d: \(3x\left(2xy-z\right)-5y\left(x^2-2\right)+3xz\)
\(=6x^2y-3xz-5x^2y+10y+3xz\)
\(=x^2y+10y\)