Question 85273
factor 3a^2(a-b)-6a(a-b)+21(a-b)
---------------
= 3(a-b)(a^2-2a+21)

Cheers,
Stan H.