The independent variable is that whose values do not take into account the values of other variables. That is the time in hours for this item. Then, for the dependent variable, the answer would be the cost of renting. The value of the dependent variable is based on the changes done in the values of the independent variable.