Find the distance from P(2,5,5) to the line x=0,y=5+5t,z=5+t

Can anybody help me with this problem. I know the formula:

d=QPxQR / |QR|

Not sure how to get point Q and R tho.

A wrench .9m long lies along the positive y-axis, and grips a bolt at the origin. A force is applied in the direction of (0,1,3) at the end of the wrench. Find the magnitude of the force in newtons needed to supply 100 J of torque to the bolt.

This is the formula i have:
T=|r x F| Can anybody point me in the right direction?