The explanatory variable is the expected cause, which, in this case, is the mode of transportation.
On the other hande, the response variable is the expected efect, which, in this case, is the time the student arrives at school.
Therefore, the explanatory and response variables are, respectively,
mode of transportation and arrival time