Normal to $\pi_1$: $\vec{n}_1 = (\hat{i}+\hat{j}) \times (\hat{j}+\hat{k}) = (1, -1, 1)$
Normal to $\pi_2$: $\vec{n}_2 = (\hat{i}-\hat{j}) \times (\hat{i}+\hat{j}-\hat{k}) = (1, 1, 2)$
Direction of intersection = $\vec{d} = \vec{n}_1 \times \vec{n}_2 = (-3, -1, 2)$
$|\vec{a}| = \sqrt{14} \Rightarrow \vec{a} = \frac{1}{\sqrt{14}}(-3\hat{i} - \hat{j} + 2\hat{k})$ (unit vector in direction of $\vec{d}$)
\[
\vec{a} \cdot (\hat{i} + \hat{j} + \hat{k}) = -3 - 1 + 2 = -2 \Rightarrow |\cdot| = 2
\]