I have the following information:
A computer-generated Rectangle 1 with width=530 and height=686 and an upper-left-hand origin and positive values going right and down.
A computer-generated Rectangle 2 is inside Rectangle 1 with its upper-left-hand corner at (132,51) and width=159 and height=54.
When the computer rotates Rectangles 1/2, it results in Rectangle 3, a rectangle with width=787 and height=608
I was able to determine by external means that Rectangle 4 (formerly rectangle 2) now has an upper-left-hand-corner of (58,224) and width=63 and height=183.
How can I calculate the coordinates and dimensions of #4 above given only #1, #2, and #3?
Pictures of Rectangles 1/2 and 3/4 are shown below: