Answer:

Graph attached. 
Explanation:
Assuming this complete problem:
"If a person drives 370 miles at 40 MPH then their distance d from the destination in miles is a function of the number of hours h driven 
show equation graph and function"
We know from the definition of distance that 

Where D represent the distance travelled on this case on mi, t the time in hours and v the velocity on this case in mi/h.
For this case if we want a function in terms of the time we can write this expression:

And since we know that the person travels 390 mi then we can find the total time spent on the travel like this:
 approximately.
 approximately.
And the graph would be the figure attached,