Find the distance from the point P (-3, 2, -7) to the line that passes through the points Q (-4, 3, 0) and R (-2, 1, -2).

I started it via getting the direction vector between R and Q, (-4, 3, 0)-(-2, 1, 2) = (-2, 2, 2)

Then got vector v from R to P (-2, 1, -2)-(-3, 2, -7) = (1, -1, 5)

Proj of v on d = (v*d/||d||^2)*d then gave me -1/2 (-2, 2, 2) ==> (1, -1, -1)

Now this is where I am a little confused, the projection is the vector or the point at the right angle? I am guessing the vector because from here I did the distance between (-3, 2, -7) and (1, -1, -1), getting sqrt (61) and that is wrong.

So I am not sure how to get from here to an actual distance between the right angle on the line passing through those two points with what I have so far.