A straight line meet the axes in A and B such that the centroid of triangle OAB is (a,a). Then the equation of the line AB is
x+y=a
x−y=3a
x+y=2a
x+y=3a
(x3,y3)= (a,a) ⇒ (x,y) = (3a,3a)
∴ Required line equation is x3a+y3a = 1
⇒ x + y = 3a