Take a look at this cartesian system. I rounded the arrows with red and yellow circles just to illustrate what happens with this system when we rotate it 180 degrees. It means everything is represented in this system rotates together. Now let's see the same illustration with AB segment.
So, that is what happens with segment AB when we turn the system 180 degrees and get A'B'. Now I'll draw more specifically with the coordinates below.
So that is the answer!