Use the information to answer the following question.

A car travels at a rate of 45 miles per hour for 5 hours. Let y be the distance, in miles, the car travels for a given amount of time, x, in hours. This situation can be modeled by a function.



What is the domain of the function?

A.
0 ≤ y ≤ 45

B.
0 ≤ x ≤ 5

C.
0 ≤ y ≤ 5

D.
0 ≤ x ≤ 45