The range of a function is representative of the values on the y-axis. In this case, the graph will contain distance on the y-axis at is the dependent variable, while the independent variable is time.
We know that the minimum value of the distance will be 0, given that there can be no negative distance. Moreover, the maximum value is 26.2 miles, since the marathon will then be over. Therefore, a good range for the situation will be 0-27 miles.