Question: what is the slope of line cd?
Answer: Note the slopes when the lines are at right angles to each other. So for example in the figure above, the line AB has a slope of 0.5, meaning it goes up by a half for every one across. The line CD if it is perpendicular to AB has a slope of -1/0.5 or -2.