When a line passes through the two points
, its slope is given by the formula

In this question, a line L passes through the points

So, its slope is given by

When two lines are perpendicular, then the product of their slopes is -1.
Since, the slope of the line L is
, so the slope of the line which is perpendicular to the given line L is
as the product of
.