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