7.4 Intersection of two line segments Let the end points of the
straightline segment A be (x_{1}, y_{1}) and (X_{2}, y_{2}). Similarly, let the
points (x_{3}, y_{3}) and (x_{4}, y_{4}) be the end points of the straightline
segment B. Devise a systematic procedure for checking whether A and B
intersect.
