What decides the answer is that this is an intersection of roads of equal priority: there are no traffic lights or priority signs. At such an intersection the driver of an ordinary vehicle gives way to those approaching from the right — that's the truck. At an intersection of roads of equal priority a tram has priority over vehicles other than trams, whichever way it is going, so you give way to it even though it is approaching from the left. You are going straight and crossing the path of both, so you give way to both the truck and the tram