Perpendicular lines and their slopes