If is a line the the distance from the point to the line is .
Here's how to do it without that formula. Any plane perpendicular to the line (x, y, z)= )=(3,-2,-1)+(1,-2,2)t is for the form x- 2y+ 2z= C for some constant C. (-3, 4, 2) will be on that plane if -3- 2(4)+ 2(2)= -7= C.
That is, (-3, 4, 2) lies on the plane x- 2y+ 2z= -7 which is perpendicular to the given line. Now a point is on both the line and the plane (i.e. the line passes through the plane) when (3+ t)- 2(-2-t)+ 2(-1+ 2t)= -7. That gives 5+ 9t= -7, 9t= -12, t= -4/3. That tells us, then, that the line passes through the plane at . The line from (-3, 4, 2) to that point is perpendicular to the line and so is the shortest distance to the line. And, of course, the distance form (-3, 4, 2) to is as Plato says.