Welcome to Math Help Forum!
The square has been rotated through an angle anticlockwise, where . For instance, , giving . The square has then been reduced in size so that its vertices lie on the perimeter of the original square, to produce .
Then, as shown in the diagram, has coordinates
The coordinates of the remaining vertices are then fairly obvious.
Let me know if the diagram is not what you meant.