Rút gọn các biểu thức sau:
a) 2x(2x-1)^2 - 3x(x+3)(x-3) - 4x(x+1)^2
b) (a-b+c)^2 - (b-c)^2 + 2ab-2ac
c) (3x+1)^2 - 2(3x+1)(3x+5) + (3x+5)^2
d) (3+1)(3^2+1)(3^4+1)(3^8+1)(3^16+1)(3^32+1)
e) (a+b-c)^2 + (a-b+c)^2 - 2(b-c)^2
g) (a+b+c)^2 + (a-b-c)^2 + (b-c-a)^2 + (c-a-b)^2
h) (a+b+c+d)^2 + (a+b-c-d)^2 + (a+c-b-d)^2 + (a+d-b-c)^2