


Let A(c, 0) and B(0, d) be the points.
Mid-point of AB = (c/2, d/2)
Given, the coordinate axes is bisected at (a,b)
So, c/2 = a => c = 2
and d/2 = b => d = 2b
Now, equation of AB in intercept form is
x/c + y/d = 1
=> x/2a + y/2b = 1
=> x/a + y/b = 2
This is the required equation.
