The car is going on the green main light, while the tram and the bus are turning on an arrow while the light is red, so they give way to it. Between themselves they go on the same arrow, and when a signal lets both go, the tram has priority, so it goes before the bus