We barely even touched projection vectors (?) and I am completely lost on how to even do this problem because I have no idea what to do.

The distancedof a pointPto the line through pointsAandBis the length of the component ofAPŻŻŻŻŻŻŻŻ that is orthogonal toABŻŻŻŻŻŻŻŻ, as indicated in the diagram. So the distance fromP=(−2,−2,3) to the line through the pointsA=(1,4,−2) andB=(−5,4,−3) is ...

What do I even do here? Pythagorean Theorem at some point?