In this problem, we are dealing with motion in 2 different frames of reference:

We will illustrate this with a little experiment.