Given equations are
3x−2=2y+1=2z−6 is passing through a point (2,−1,6) and it's direction ratios are 3,2,2.
So,
a1=2i^−j^+6k^
b1=3i^+2j^+2k^
And,
3x−6=−2y−1=0z+8 is passing through a point (6,1,−8) and it's direction ratios are 3,−2,0.
a2=6i^+j^−8k^
b2=3i^−2j^+0k^
Now,
a2−a1=4i^+2j^−14k^
b1×b2=∣i^33j^2−2k^20∣
⇒b1×b2=4i^+6j^−12k^
So,
⇒∣b1×b2∣=16+36+144=14
We know that the shortest distance between two skew lines is ∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣
=∣14(4i^+2j^−14k^)⋅(4i^+6j^−12k^)∣
=14∣16+12+168∣=14 units