Time = (sum of lengths) / (relative speed). Opposite: add speeds. Same direction: subtract speeds. km/h to m/s: multiply by 5/18.

— Formula to remember
  • Always convert units before dividing.
  • Add lengths for two moving trains or a platform.
  • Add speeds for opposite motion, subtract for the same direction.
  • A pole or a person adds no length.