The coordinates of any point on the first line are given by
The coordinates of a general point on the first line are .
The coordinates of any point on the second line are given by
The coordinates of a general point on the second line are .
If the lines intersect, then they have a common point. So, for some values of , we must have