When traveling equal distances at different speeds, the average speed is given by the harmonic mean of the speeds. The formula for the average speed v for two equal distances traveled at speeds v₁ and v₂ is v = 2 / ((1/v₁) + (1/v₂)), which can be rearranged as 2/ v = 1/v₁ + 1/v₂.