Equations of Lines for Geometric Constraints and Intersections