This had some dead ends. I spent some time trying to use the parametric equation of a line. But the parameter is not comparable across two lines.