are the lines perpendicular
When two lines are perpendicular, the slope of one is the negative reciprocal of the other. If the slope of one line is m, the slope of the other is. Try this Drag points C or D. Note the slopes when the lines are at right angles to each other.