The driver of which vehicle has the priority in traffic?

Explanation
The tram and car are both admitted by green signals, so the special priority rule for rail vehicles applies. The car must allow the tram to pass before making the conflicting movement; equal signal permission does not make their priority equal.