a(a-b)^2-2b(a-b)(a+b)
=a(a ^2-2ab+b ^2)-2b(a ^2-b ^2)
=a^3-2a^2b+ab^2-2ab+2b^3
=a^3-2a^2b-2ab+ab^2+2b^3