=a3+2a2b+a2b+2ab2+ab2+b3
=(a3+2a2b+ab2)+(a2b+2ab2+b3)
=a(a2+2ab+b2)+b(a2+2ab+b2)
=(a+b)(a2+ab+ab+b2)
=(a+b)(a(a+b)+b(a+b))
=(a+b)(a+b)(a+b)=(a+b)3
=a3 + 2a2 b+a2b+2ab2+ab3+b3
=(a3+2a2b+ab2)+(a2b+2ab2+b3)
=a(a2+2ab+b2)+b(a2+2ab+b3)
=(a+b)(a(a+b)+b(a-b)
=(a-b)(a+b)(a-b)=(a+b)2