When the line AB moves within the co-ordinate axis, its length remains constant. To have the constant area, length of the perpendicular from the origin must remain constant.

So find the equation of the straight line AB and length AB. Find the perpendicular distance p from the origin. Then

A = 1/2*AB*p = 2c^2.