Find the shortest distance between the lines

We know that
Shortest distance between two lines
and
is
…(i)
Here,
,
and
, ![]()
Now, ![]()
…(ii)
Now, ![]()
⇒ 
……….(iii)
……….(iv)
Now, ![]()
……….(v)
Now, using (i), we have
The shortest distance between the two lines, d
[From (iv) and (v)]
⇒ 
Rationalizing the fraction by multiplying the numerator and denominator by √2,
⇒ 