A team from the Department of Public Works is painting lines on the freeway. The length of road that needs to be lined determines how many hours the project will take.

r = the length of road
h = the number of hours needed

Which of the variables is independent and which is dependent?