Identify the distance between points (3,7,1) and (9,6,7), and identify the midpoint of the segment for which these are the endpoints. Round to the nearest tenth, if necessary.