(a2 + b2 + 2ab) − (a2 + b2 − 2ab)
Here, '−' sign precedes the second parenthesis. So, we will remove it and change the sign of each term within the parenthesis.
a2 + b2 + 2ab − a2 − b2 +2ab
Rearranging and collecting the like terms:
a2 − a2 +b2 − b2 + 2ab + 2ab
=(1 − 1)a2 + (1− 1)b2 + (2 + 2)ab
=0 + 0 + 4ab
= 4ab