So,
Here we have the following vertices:
We are going to write the coordinates of the vertices after a rotation 90° counterclockwise around the origin.
Remember that a 90° rotation counterclockwise around the origin follows the rule:
So what we're going to do is to change the x coordinate of all vertices by each coordinate of y with the opposite sign. And, we're going to change the y-coordinate by the x-coordinate. This is,