Shelly wants to find the speed that her dog can run. What should Shelly do?
A. measure the distance the dog runs
B. measure the time the dog runs
C. measure the size of the dog and the distance it runs
D. measure the time it takes for the dog to run a certain distance