a: (3x^2-4)(x+3y)
=3x^2*x+3x^2*3y-4x-4*3y
=3x^3+9x^2y-4x-12y
b: (c+3)(x^2+3x)
=c*x^2+c*3x+3x^2+9x
=cx^2+3cx+3x^2+9x
c: (xy-1)(xy+5)
=xy*xy+5xy-xy-5
=x^2y^2+4xy-5
d: (3x+5y)(2x-7y)
=3x*2x-3x*7y+5y*2x-5y*7y
=6x^2-21xy+10xy-35y^2
=6x^2-11xy-35y^2
e: -(x-1)(-x^2+2y)
=(x-1)(x^2-2y)
=x^3-2xy-x^2+2y
f: (-x^2+2y)(x^2+2y)
=(2y)^2-x^4
=4y^2-x^4