Choose to help the merchant repair his cart. It is the second of the two options, and it is the one that pays.
The alternative, stealing something and wandering off nonchalantly, ends the encounter with nothing gained. Helping out instead triggers this response: you spend time repairing the cart, and the grateful merchant thanks you and hands over 1,350 gold pieces for the effort.
It is a straightforward good-versus-greedy choice, and the Swords and Sandals series is consistent about rewarding the cooperative option in its event encounters. If you are working through the events for maximum gold, pick the repair every time.