m: (x-y)(x^2-2xy+y^2)
=(x-y)*(x-y)^2
=(x-y)^3
=x^3-3x^2y+3xy^2-y^3
n: =-(x^3+x^2y-x-x^2y-xy^2+y)
=-x^3+x+xy^2-y
o: =-(x^3+x^2y^2-x^2-2xy-2y^3+2y)
=-x^3-x^2y^2+x^2+2xy+2y^3-2y
p: (1/2x-1)(2x-3)
=1/2x*2x-1/2x*3-2x+3
=x^2-3/2x-2x+3
=x^2-7/2x+3
q: (x-1/2y)(x-1/2y)
=(x-1/2y)^2
=x^2-xy+1/4y^2
r: (x^2-2x+3)(1/2x-5)
=1/2x^3-5x^2-x^2+10x+3/2x-15
=1/2x^3-6x^2+11,5x-15