Let y=mx+c line
distance from (0,0) to y=mx+c is p
p=∣∣∣c√1+m2∣∣∣
For x intercept y=0Therefore x intercept : x=−cm
For y intercept x=0
y intercept: y=c
M is a mid-point of intercept made by line y−mx−c=0
∴M≡(−c2m,c2)
So, x=−c2m,y=c2
∴1x2+1y2=4m2c2+4c2
=4c2(1+m2)
=4c2×c2p2
∴1x2+1y2=4p2