The endpoints of a line segment are at the coordinates (3, 4, 6) and (5, 7, -2). What Is the midpoint of the segment?