Foot on Line Condition$(1,\mu,2)$ lies on $(x-4)/1=(y-9)/2=(z-5)/1=t$. At $(1,\mu,2)$: $t=(1-4)/1=-3$. So $\mu=9+2(-3)=3$ and $z=5+(-3)=2$ ✓.
Perpendicularity ConditionThe foot-of-perpendicular vector must be perpendicular to the line direction. Vector from source to foot: $(1-\lambda,1,-1)$. Dot with direction $(1,2,1)=0$: $(1-\lambda)+2-1=0$, giving $\lambda=2$.
Distance Formula for Parallel Lines$d=|\overrightarrow{AB}\times\vec{d}|/|\vec{d}|$. The cross product $\overrightarrow{AB}\times\vec{d}$ gives a vector perpendicular to $\vec{d}$ with magnitude equal to $|\overrightarrow{AB}|\sin\theta$ where $\theta$ is the angle between them.
Verify Parallel LinesBoth lines have direction $(2,3,6)$. $|(2,3,6)|=\sqrt{4+9+36}=7$. The lines are parallel. Distance $=\sqrt{146}/7$.