Answer;
1 second
Explanation;
Two objects moving at the same speed will always stay the same distance apart. If two objects are moving at different speeds, the distance between them must change.
Therefore; if the distance will be the same and the speed is also the same then the time taken will be the same.