$${\int_0^D dx = \int_0^t v\, dt}$$