Answer:
The number of hours is the independent variables and the total cost is the dependent variable. 
Explanation:
From statement we get a linear function for modelling costs as a function of the number of hours rented. The standard form of the linear function is:
 (Eq. 1)
Where:
 - Independent variable, measured in hours.
 - Dependent variable, measured in US dollars. 
 - Slope, measured in US dollars per hour.
 - y-Intercept, measured in US dollars.
Hence, the number of hours is the independent variables and the total cost is the dependent variable.