Calculate velocity from distance and time
Calculate average velocity as distance traveled divided by time taken.