The equation of the line bisecting perpendicularly the segment joining the points and is
Equation of the line passing through and is
Now equation of any line
This line passes through the midpoint of and i.e.,
Study 40% syllabus and score up to 100% marks in JEE