Find the coordinates of the midpoint of the line segment joining the points (r, 4) and (3r, 6).