I understand that the parametric equations of the line given to you are x=1t , y=3t ,z=6t
therefore the vector v parallel to this line is v=(1t,3t,6t) expressed as function of t.
Now get one point of the line Q(x,y,z)=Q(1t,3t,6t) and define the vector PQ=(t+5,3t-2,6t+6)
Now get the dot product of the vector v x PQ =0 and determine the value of t.
thus you have the value of t and you can find the exact coordinates of the point Q and of course the coordinates of the vector PQ.
GET THE |PQ| AND THIS IS THE DISTANCE OF THE POINT P FROM THE LINE GIVEN TO YOU.