AMC 12B 2019 Problem 3

Which one of the following rigid transformations (isometries) maps the line segment \overline{A B} onto the line segment \overline{A^{\prime} B^{\prime}} so that the image of A(-2,1) is A^{\prime}(2,-1) and the image of B(-1,4) is B^{\prime}(1,-4) ?

Answer Choices
A. reflection in the y-axis
B. counterclockwise rotation around the origin by 90^{\circ}
C. translation by 3 units to the right and 5 units down
D. reflection in the x-axis
E. clockwise rotation about the origin by 180^{\circ}