Given a point (h,k), we can rotate it using the following formulas:
Rotate 90 degrees: (h,k) becomes (k,-h)
Rotate 180 degrees: (h,k) becomes (-h,-k)
Rotate 270 degrees: (h,k) becomes (k,-h)
In this case, we have (for the 90 degrees rotation):
For the 180 degrees rotation:
And finally for the 270 degrees rotation: