Find the midpoint of the segment with endpoints (2, 24) and (6,-4). Type the x and y values of the midpoint in the answer boxes.​