I just need the answer for the second question. I just need a brief explanation with the answer

Explanation
When we rotate a figure of 90 degrees counterclockwise, each point of the given figure has to be changed from (x, y) to (-y, x) and graph the rotated figure.
Answer:
[tex]\mleft(x,y\mright)\rightarrow(-y,x)[/tex]