Answer:
The solution to the question will be explained better using the image below
Concept:
The formula to calculate momentum is given below as

The first momentum will be

The second momentum will be

Since they are moving in different directions,
We will substract both momentums

Hence,
The momentum of a system that consists of two objects should be 20 kg m/s in the direction of the negative x-axis