A straight line passes through the point (1.3), which is exactly the midpoint of the line cut by the two coordinate axes

A straight line passes through the point (1.3), which is exactly the midpoint of the line cut by the two coordinate axes

Let the line be x / A + Y / b = 1
The intercept is (a, 0), (0, b)
So the midpoint (a + 0) / 2 = 1
(0+b)/2=3
a=2,b=6
x/3+y/6=1
So it's 2x + y-6 = 0