I included both directions in my calculation, hence the denominator being (2 * 21km). And for the Underground there are no passing trains or multiple trains unloading at a station, platforms are generally only a few metres longer than the train itself.