A general point on the line is \( Q(3\lambda + 6, 2\lambda + 7, -2\lambda + 7) \). Then \( \overrightarrow{PQ} = (3\lambda + 5, 2\lambda + 5, -2\lambda + 4) \).
For the foot of the perpendicular, \( \overrightarrow{PQ} \cdot (3, 2, -2) = 0 \): \( 9\lambda + 15 + 4\lambda + 10 + 4\lambda - 8 = 0 \Rightarrow 17\lambda = -17 \Rightarrow \lambda = -1 \).
Then \( \overrightarrow{PQ} = (2, 3, 6) \) and the length is \( \sqrt{4 + 9 + 36} = 7 \).
Answer: (4) 7