The speed of the car is unaffected by the length of time.
\The speed of the car is the independent variable because it is unaffected by the length of time it takes to stop the \ \ car.
\The length depends on the speed.
\The length of time it takes to stop the car is the dependent variable because it depends on the speed of the car.