a3 + b3 + c3 - 3abc = (a + b)3 + c3 - 3ab.(a + b) - 3abc = (a+b+c)3 - 3(a+b).c (a+ b+c) - 3ab.(a + b +c)
= (a + b+c). [(a + b+c)2 - 3c(a + b) - 3ab]
= (a + b+c). (a2 + b2 + c2 + 2ab + 2ac + 2bc - 3ac - 3bc - 3ab)
= (a + b + c). (a2 + b2 + c2 - ab - ac - bc)