Equations for Parallel and Perpendicular Lines