Solution:
Given:

The median is the middle term from the data rearranged in rank order.
Rearranging the data;

From the data set, the middle term is 9 and 10.
Since two terms fall in the middle, then the median is the mean of the two terms.
Hence,

Therefore, to the nearest tenth, the median is 9.5 hours.
The mean is the average of the set of data.

Therefore, to the nearest tenth, the mean is 11.5 hours