To guarantee this, the sides AD and AB of the rectangle must rotate by equal and opposite amounts. In this way the diagonals of the rectangle only stretch or compresse.
This condition means that:
Recall and