Speed, distance, and time problems