We need to write this in vector form
Line I:
Equation of line passing through a (0, 0, 0) and b (1, 0, 2)
Line II:
Equation of line passing through a (1, 3, 0) and b (0, 3, 0)
The shortest distance between two skew lines is
Putting these values in the expression,