Question: how to calculate relative velocity vectors?
Answer: The relative velocities are the time derivatives of the position vectors. Therefore, →vPS=→vPS′+→vS′S. The velocity of a particle relative to S is equal to its velocity relative to S′ plus the velocity of S′ relative to S.