Alex can run at least 3 miles a day, but no more than 5. It takes him 3 minutes to run to the trail, and then 10 minutes to run a mile. The time Alex spends running in a day can be modeled by the function T(m) = 3+10m, where m represents the number of miles he runs. What is the domain and range of this function?​