The answer comes from the traffic light signals: the intersection is controlled, so the
sign does not apply here. If the traffic light signals and the priority signs conflict, you follow the traffic light. The tram and the green car are going straight on the green arrow of the extra arrow section, which is lit together with the red light. Anyone going on such an arrow must give way to vehicles coming from other directions, and that includes the tram: the tram's usual priority when trams and other vehicles get a go signal at the same time does not apply here. The red car is turning right on its own go signal, so it goes first. After it, the tram and the green car go straight side by side without getting in each other's way, so they go at the same time