The directing vector of line AB is u= < 3, -1 -3 >
Vector AP = < 3, -9, 3 >
Then the distance of the point P from the line AB is equal with the
length of the projection of vector AP on vector u.
| AP • u | / || u|| = | < 3, -9, 3 > • < 3, -1 -3 > | / √19 = 9√19 /19