Initially, two buggies have velocities and respectively.
In this situation, we only care about parallel velocity/momentum changes.
At the moment of jumping, parallel momentum of the buggies are , and momentum of men:
According to momentum conservation principle, and taking into the account that first buggy stopped after the jump:
Second buggy, continued the movement with the velocity :
Using these two equations, we find: