If a,b are intercepts of the line which is perpendicular to the line passing through the points and passing through the point then
The slope of the line joining the points is
Equation of line passing through the point and perpendicular to the line having slope -2 is
Isolate the constant term and then divide with that constant on both sides
Therefore, is and the is
Hence,