The driver of which vehicle must give way?

Explanation
A tram has precedence over non-rail traffic whose route crosses its track at an uncontrolled equal-priority junction. The lorry and the other car therefore yield; assigning the duty only to the tram or to one motorist would leave the other crossing conflict unresolved.