Rotating a square is not as easy as you imagine. Don't worry, and I will guide you through the following steps: First, shift the origin on the (0, 0) coordinate system to a position that coincides with one side of the square. Perform mesh rotation under an angle of 45° (i.e., part 4 radians). Finally, draw a courtyard at the origin.