Step 1: Bring each line to standard form.
For line 1 the direction ratios are $\langle -3, \tfrac{2\lambda}{7}, 2\rangle$. For line 2 they are $\langle \tfrac{-3\lambda}{7}, 1, -5\rangle$.
Step 2: Use the right angle condition.
Perpendicular lines have a zero dot product:
$$(-3)\!\left(\tfrac{-3\lambda}{7}\right) + \tfrac{2\lambda}{7}(1) + 2(-5) = 0$$
Step 3: Solve for $\lambda$.
$$\frac{9\lambda}{7} + \frac{2\lambda}{7} - 10 = 0 \Rightarrow \frac{11\lambda}{7} = 10 \Rightarrow \lambda = \frac{70}{11}$$
\[ \boxed{\dfrac{70}{11}} \]