I am curious about how to approach the problem mathematically, so I write.
There are 4 dots on the square and I know the location.
The rectangle moves and the positions and angles of the four points change.
I also know the location of the four points that have changed.
I don't know the...