The initial shape is a square.
The geometry rule is shown below.




The area of the two squares is the same as the single square.
The center of gravity of the shape is at the same point.

The shape is rotated 45 degrees clockwise.