A straight line meets the coordinates axes at A and B , so that the centroid of the triangle OAB is (1,2) . Then the equation of the line AB is
x+y=6
2x+y=6
x+2y=6
3x+y=6
A(a,0),B(0,b)
Centroid =(a3,b3)=(1,2)⇒a=3,b=6
Equations of AB is x3+y6=1⇒2x+y=16