The point A(6,7,7) is on the line .
Let the perpendicular from P meet the line in L.
Then AP2=(6−1)2+(7−2)2+(7−3)2=66
Also AL= projection of AP on line ( actual d.c′s173,172,17−2) ⇒(6−1)⋅173+(7−2).172+(7−3)17−2 =17 ∴⊥ distance d of P from the line is given by d2=AP2−AL2=66−17=49 so that d=7