Let AB be the line through the points, (4, 7, 8) and (2, 3, 4), and CD be the line through the points, (−1, −2, 1) and (1, 2, 5).
The directions ratios, a1, b1, c1, of AB are (2 − 4), (3 − 7), and (4 − 8) i.e., −2, −4, and −4.
The direction ratios, a2, b2, c2, of CD are (1 − (−1)), (2 − (−2)), and (5 − 1) i.e., 2, 4, and 4.

Thus, AB is parallel to CD.