The green markers represent the momentum of the green car in the x-direction.

The red markers represent the momentum of the red car in the x-direction.

The blue markers represent the total momentum (sum of red and green) in the x-direction.