Let $\bar{a}$ and $\bar{b}$ be the vectors along the lines whose direction ratios are $-2,1,-1$ and $-3,-4,1$ respectively.
$\therefore \bar{a}=-2 \hat{i}+\hat{j}-\widehat{k}$ and $\hat{b}=-3 \hat{i}-4 \hat{j}+\widehat{k}$
A vector perpendicular to both $\bar{a}$ and $\bar{b}$ is given by
$\bar{a} \times \bar{b}=\left|\begin{array}{ccc}\hat{i} & \hat{j} & \widehat{k} \\ -2 & 1 & -1 \\ -3 & -4 & 1\end{array}\right|$
$=(1-4) \hat{i}-(-2-3) \hat{j}+(8+3) \widehat{k}$
$=-3 \hat{i}+5 \hat{j}+11 \widehat{k}$
∴ the direction ratios of the required line are -3, 5, 11
Now, $\sqrt{9+25+12}=\sqrt{155}$
Direction cosine of the line are $-\frac{3}{\sqrt{155}}, \frac{5}{\sqrt{155}}, \frac{11}{\sqrt{155}}$.



