Respuesta :

To rotate a point 90º counterclockwise you have to invert the place fo the coordinates, for example:

(x,y) → (y,x)

Then you have to change the sign of the