Step 1: Use the formula for the angle between two lines.
The direction ratios of the lines are given by:
- For the first line, the direction ratios are \( (1, 2, 2) \).
- For the second line, the direction ratios are \( (2, 2, -1) \).
The formula for the cosine of the angle \( \theta \) between two lines is:
\[
\cos \theta = \frac{l_1 \cdot l_2}{|l_1| |l_2|}
\]
where \( l_1 \) and \( l_2 \) are the direction ratios of the lines.
Step 2: Calculate the cosine of the angle.
Substitute the values of \( l_1 = (1, 2, 2) \) and \( l_2 = (2, 2, -1) \) into the formula:
\[
\cos \theta = \frac{1 \cdot 2 + 2 \cdot 2 + 2 \cdot (-1)}{\sqrt{1^2 + 2^2 + 2^2} \cdot \sqrt{2^2 + 2^2 + (-1)^2}}
\]
This simplifies to:
\[
\cos \theta = \frac{4}{9}
\]
Step 3: Conclusion.
The angle between the lines is \( \cos^{-1} \left( \frac{4}{9} \right) \).