A line perpendicular to the line segment joining the points and divides it in the ratio , the equation of the line is
Slope of the given line is and the coordinates of the point which divides the given line segment in the ratio is
So equation of the line passing through the point (6, 4) and perpendicular to the given line is