Given the figure FGHJ with coordinates
F(0, 5), G(-5, 1), H(5, -7) and J(6, 4)
When we rotate a figure of 90 degrees clockwise, each point of the given figure has to be changed from (x, y) to (y, -x) and graph the rotated figure.
Therefore, for clockwise rotation, the coordinates of the image of FGHJ becomes

Note that, the blue graph represents the pre-image FGHJ and the green graph represents the image F'G'H'J'
When we rotate a figure of 90 degrees anti-clockwise, each point of the given figure has to be changed from (x, y) to (-y, x) and graph the rotated figure.
Therefore, the anti-clockwise rotation the coordinates of the image of FGHJ becomes

Note that, the blue graph represents the pre-image FGHJ and the green graph represents the image F'G'H'J'