The equation of the plane containing the line is
If it is parallel to the line , then
Putting in (1), we get
This is the equation of the plane containing the second line and parallel to the first line.
Now, the line passes through (1, 3, −2).
∴ Shortest distance between the given lines
= Length of the perpendicular from (1, 3, −2) to the plane