An easy way to remember the formulae is to put distance, speed and time (or the letters D, S and T) into a triangle.