Slopes of parallel and perpendicular lines