Attending to those particles of the partial ray A which after the collision travel in the direction we can calculate their momentum and also ie the momentum after collision of the particles with which they collided.