Think about how you define the derivatives with respect to both time and space.
Then you have to find how .the distances changing with respect to each other.
So you will have 1 distance rate in terms of time and another in terms of time and then you need to relate the two distances.
Recall the chain rule:
dy/dx = dy/dt * dt/dx.