A spaceship starts at location $$s_0$$ and accelerates within time $$t$$ to location $$s$$ with acceleration $$a$$. Thereby it covers the distance $$s-s_0$$.