Answer:
Impulse in the first collision is greater
Step-by-step explanation:
u = Initial velocity of cart
v = Final velocity of cart
m = Mass of of cart
First collision
Impulse

Second collision
Impulse

Hence, the impulse in the first collision is greater than the second impact