THE answer is A becuase if you rotate 270 it brings u to q1 and D is wrong bc 90 degrees counter clockwise, looking closly the shape on the figure on the right is A'B'C'D' the figure on the left is ABCD.
it is rotation of 90 degrees because if you put the rectangle on its side or turn 90 degrees either to the left or right it will be the same exact figure as the one on the right so you would do the opposite of that and take the shape on the right and put it standing straight up or turn it counterclockwise 90 degree