ab×a×ab×b equals
ab
a2b2
a3b3
a4b4
ab×a×ab×b
= (a)1+1+1(b)1+1+1
= a3b3
2ab+3bc+4ba−2cb+3ab+8bc equals