sam runs 5 miles before school every day to train for the train big track meet. After school, he also runs at a rate of 2 miles per hour. Which function below represents the total miles that sam runs?

where x is the hours traveled after school y the total distance, 2 the milles per hour and 5 the milles runed before school
so the answer is option D