The answer depends on which signal the tram is going on. Normally, on green a tram has priority over vehicles other than trams, but here its traffic light shows red, and only the arrow in the extra arrow section allows the right turn. Anyone going on such an arrow gives way to vehicles from other directions, and that rule applies to trams too. The car has an ordinary green light, so the tram gives way, and the car goes through the intersection first