Take a square. Take a, b; a, b; a, b; a, b. Now join the four points. Un-shaded region is c2 here. Now in the same diagram, if I push this up and bring these two together, if I push this to the right and bring this down; Un-shaded region a2 + b2 = c2 here.