Find the point that is located at dist r along a line between p1 and p2.
start point of line segment
endpoint of line segment
distance from p1 to travel along the line
vector representation of the point of intersection
Find the point that is located at dist r along a line between p1 and p2.