Figure shows the velocity-time graph for two masses R and S that collided elastically. Which of the following statements is true?