-3ma³+6ma²-12ma
=-3ma(a²-2a+4)
(x-1)²(3x-2)+(2-3x)
=(3x-2)[(x-1)²-1]
=(3x-2)(x-1+1)(x-1-1)
=x(3x-2)(x-2)