You have the correct answer. Apply a 180 degree rotation around the point (0,2)
Reason:
We'll connect corners between figures A and B.
Draw a line from the upper right corner of figure A to the lower left corner of figure B. This line is in red (see diagram below).
Draw another line from the lower right corner to the upper left corner. This line is in blue.
The red and blue lines intersect at the center of rotation (0,2)
The line segments constructed consist of endpoints of "before" and "after". For instance, the upper right corner in figure A rotates to the lower left corner of figure B. This happens because of the 180 degree rotation.
Note: You can do this rotation either clockwise or counterclockwise, and you would get the same result.