Prove a quadrilateral relation by using complex analysis.

Prove a quadrilateral relation by using complex analysis. That is: prove for arbitrary quadrilateral, the center points for the following four squares form the right angle (the blue lines), and the lengths are equal.