We use the kinematic equation,
Here, s is the distance traveled by elevator u is the initial velocity and t is time.
As elevator accelerates uniformly from rest to a speed of 2.5 m/s in 12 s, so

Thus, the distance the elevator travels during 12 s time is