For this case we have that the slope of a line is given by:

Where:
and
are two points through which the line passes.
According to the statement we have to:

Then, the slope of the line is:

By definition, if two lines are perpendicular then the product of their slopes is -1, that is:

We find


Answer:
The slope of a perpendicular line is:
