Ratio and Perpendicular Lines