The correct option is D x+y=a
The equation of the line AB using intercept form is
x2a+y2a=1 or x+y=2a ...(i)
Thus any point P on the line x+y=2a can be written as P=(x1,2a−x1).
Thus perpendicular from P cuts the x-axis at R=(x1,0) and the y-axis at S=(0,2a−x1). Now the midpoint RS will be
Q=(x12,2a−x12).
Therefore x=x12 and y=2a−x12. Hence
x+y=x1+2a−x12 or x+y=2a2 or x+y=a.
Thus the required equation is x+y=a.