The distance d of a point P to the line through points A and B is the length of the component of AP¯¯¯¯¯¯¯¯ that is orthogonal to AB¯¯¯¯¯¯¯¯, as indicated in the diagram. So the distance from P=(−3,3,5) to the line through the points A=(−4,4,5) and B=(5,1,−4) is