Perpendicular lines with midpoint