For the given point and line, find by projection the point on the line that is closest to the given point and use perp to find the distance from the point to the line.

P (3,-5)
line: x = (2,-4)+t(3,-4)