What decides the answer is that the traffic light lets both the tram and the car go at the same time. In that case the tram has priority over other vehicles no matter which way it is going. So the usual rule "when turning left, give way to oncoming traffic" does not apply here: the tram is turning left and the red car is coming toward it, but it is the car that must give way. The exception is when the tram moves on an extra arrow that is on together with a yellow or red light: then the tram itself gives way to everyone else. Here the tram has an ordinary green light