If "r" is the slope of a line, then the slope of any line perpendicular to that line will be the negative reciprocal of "r".
In other words, if "m" is the slope of a line perpendicular to the line with slope "r", then:
m = -1/r
This relationship holds true for any pair of perpendicular lines.