The answer depends on the fact that a flashing yellow signal allows you to go, but the intersection is then treated as uncontrolled. There are no priority signs here, so the roads are of equal priority and the rule "give way to traffic on your right" applies: you must give way to those approaching from the right. A horse-drawn cart is a vehicle too, and the person driving it counts as a driver, so the rule applies to the cart as well. The cart is approaching from your right, so you give way to it and only then go through the intersection