Because Thomas runs the first 3 miles of his practice at a constant speed, we can use the linear function to represent the distance Thomas runs:
Where s is the speed and t the time. The time is the independent variable. So the distance is a function of the time and the constant speed at which Thomas runs.
The blue line represents the distance.