Slopes of parallel lines and perpendicular lines