7.4 Intersection of two line segments Let the end points of the straight-line segment A be (x1, y1) and (X2, y2). Similarly, let the points (x3, y3) and (x4, y4) be the end points of the straight-line segment B. Devise a systematic procedure for checking whether A and B intersect.