Reflection of a point about O(0,0)

Drag the point A and observe how the coordinates of point A' change.