example of time and distance