Let $l_1$ be the line joining $(1, 1, 1)$ and $(3, 1, 3)$ and let $l_2$ be the line joining $(0, 2, -1)$ and $(2, 0, 3)$. What is the angle between $l_1$ and $l_2$?
Show Hint
To simplify calculations, divide direction vectors by their common factor first.
For example, use $\vec{v_1'} = \hat{i} + \hat{k}$ and $\vec{v_2'} = \hat{i} - \hat{j} + 2\hat{k}$.
Then $\cos \theta = \frac{1 + 0 + 2}{\sqrt{2}\sqrt{6}} = \frac{3}{\sqrt{12}} = \frac{\sqrt{3}}{2}$, which immediately yields $30^\circ$.