The direction ratios of the first line are \( \langle 1, 1, 1 \rangle \), and the direction ratios of the second line are \( \langle 0, 1, -1 \rangle \).
The angle \( \theta \) between two lines is given by the formula: \[ \cos \theta = \frac{\mathbf{r_1} \cdot \mathbf{r_2}}{|\mathbf{r_1}| |\mathbf{r_2}|} \] Substituting the direction ratios: \[ \cos \theta = \frac{1 \times 0 + 1 \times 1 + 1 \times (-1)}{\sqrt{1^2 + 1^2 + 1^2} \times \sqrt{0^2 + 1^2 + (-1)^2}} = \frac{0 + 1 - 1}{\sqrt{3} \times \sqrt{2}} = 0 \] Thus, \( \theta = \frac{\pi}{2} \).