When it comes to rotations by 90 degrees or 270 degrees, you just have to switch the order of x- and y- coordinates. Then find the sign by considering which quadrant will it be. In this case, it is originally on the positive y-axis and now it would be +ve x-axis.