Question: how to calculate distance between two straight lines?
Answer: The distance between two parallel lines is calculated by the distance of point from a line. It is equal to the length of the perpendicular distance from any point to one of the lines. Let N be the point through which the perpendicular or normal is drawn to l1 from M (− c2/m, 0).