Equations of Horizontal and Vertical Lines