What is the equation for the midpoint between a point and any given point on a line?