A comment (well, a few observations), not an answer but too long for that.
Given vector spaces $V,W$ ,a bilinear mapping from $V\times W$ into the reals is one which is linear in each variable separately. Crucial fact: such an operator is uniquely determined by its vales on elements $(x,y)$ where $x$ and $y$ range over bases (yes, I know that this is undergraduate maths but the OP insists on details).
If $X$ and $Y$ are planar vectors and $L(X,Y)$ is the signed area of the square $ABCD$ erected on $A=X$ and $B=Y$, then this is bilinear in $X$ and $Y$ (easy to prove directly in coord8nates using the area formula or by a simple geometrical argument— not my fault—the OP insists on details).
Using these facts, then the case of squares can be reduced to that of determining when two bilinear mappings coincide. This can easily be done with a simple Mathematica programme or by using symmetry and the canonical basis for $2$-space.
This method can be carried over to the more general case of polygons and to gazillions of natural generalisations but I am too terrified of the OP‘s potential comments to even think about posting them here.