a) x4-4x3+4x2
= x2(x2-4x+4)
= x2(x-2)2
b) 2ab2-a2b-b3
= -b(-2ab+a2+b2)
=-b(a-b)2
e) x3+3x2-3x-1
= x3-x2+4x2-4x+x-1
=(x3-x2)+(4x2-4x)+(x-1)
=x2(x-1)+4x(x-1)+(x-1)
(x-1)(x2+4x+1)
f) x3-3x2-3x+1
=x3+x2-4x2-4x+x+1
=(x3+x2)-(4x2+4x)+(x+1)
=x2(x+1)-4x(x+1)+(x+1)
=(x+1)(x2-4x+1)
g)x3-4x2+4x-1
=x3-x2-3x2+3x+x-1
=(x3-x2)-(3x2-3x)+(x-1)
=x2(x-1)-3x(x-1)+(x-1)
=(x-1)(x2-3x+1)