In trapezoid KLMNKLMNKLMN, the lengths of the bases are KN=25KN = 25KN=25, LM=15LM = 15LM=15, and the lengths of the legs are KL=6KL = 6KL=6, MN=8MN = 8MN=8. Find the length of the segment connecting the midpoints of the bases.