 For each trip segment i, the slowness si = 1/speedi.Then take the weighted arithmetic mean of the si's weighted by their respective distances (optionally with the weights normalized so they sum to 1 by dividing them by trip length).This gives the true average slowness (in time per kilometre).