A line segment has (x1, y1) as one endpoint and (xm, ym) as its midpoint. Find the other endpoint (x2, y2) of the line segment in terms of x1, y1, xm, and ym.