In order to find the medians for both classes, we need to first arrange the data sets in ascending order:
Class 1: 2, 4, 5, 5, 6, 7, 7, 8, 8, 10, 10, 11, 11, 12, 14
Class 2: 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 10, 10, 11, 12
Next, we can determine the medians. Since both data sets have an odd number of elements, the median can be found by taking the middle value:
Class 1 median: 8
Class 2 median: 7
Therefore, Class 1 has a higher median than Class 2 by 1 mile.