The trolley drags a tape through a timer making fifty dots a second. Cut the tape into strips of ten spaces, a fifth of a second each, and measure them. Each strip gives a velocity; plot those against time and the gradient is the acceleration.