find veloacity and speed

given few instances of time and speeed, calculate distance and velocity average etc.