The Independent variable is the one that is being experimented on to see the effect it will have on the dependent variable.
The Independent variable is adjusted to different levels to see if a relationship exists between these adjustments and a change in the dependent variable.
In this scenario the independent variable would be the speed you drive your car whilst time taken to completely stop is the dependent variable because the speed is the variable being adjusted to see the time taken to completely stop the car.