Moving at a constant rate, a trench machine is advertised as being able to dig 36-foot trenches in 40 minutes. A farmer uses the same machine to dig trenches that are 58.5 feet long, with each trench taking 65 minutes to complete.

What is the independent quantity for this situation?

What is the dependent quantity for this situation?