
Explanation:
rotate is a command that rotates selected objects around a base point to an absolute angle. You can specify the base point and the rotation angle by entering values or selecting points. You can also use the reference option to align objects with other objects.
* 1- Start the Rotate command, select the square, and press Enter
* 4- Specify the base point
* 5- Select the Reference option
* 3- Select the lower left corner and the lower right corner as the first and second points of the reference angle
* 2- Enter a value of 0 for the new angle and press Enter