A teacher conducted an experiment measuring the amount of time, in minutes, students spent on homework each week. The following data set represents the time spent by ten students:
Data Set: 45, 60, 50, 55, 70, 65, 50, 60, 55, 40
Determine the median and mode of this data set. What is the difference between the median and the mode of the amount of time spent on homework?