The answer comes from the fact that a flashing yellow light allows you to go, but the intersection then counts 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 cart's driver is a driver, so the rule applies to it as well. The cart is approaching on your right, which means you give way to it and only then drive through the intersection