1. Only the tram drivers.The car is also on the main road, to your right. Between drivers on a main road that changes direction, the rule to give way to traffic on your right applies, so you must give way to the car as well as to tram B. Tram A, for its part, must give way to you: it is on the side road
3. No one.You are on the main road, but not alone: tram B and the car are on it too and are approaching from your right. Since the main road changes direction, the rule to give way to traffic on your right applies between you, and it is you who must give way to them
4. All other drivers.Tram A is approaching on the side road, and you are on the main road. A driver on a side road gives way to everyone on the main road, tram or not, so tram A waits for you