The order is set by the main road, which turns at this intersection: the
plaque under the
sign shows that the main road goes from the blue car to the right, toward the motorcycle. The tram is on a side road, so it gives way to everyone on the main road, wherever they are going. A tram has priority over other vehicles only when they are on roads of equal priority, and that is not the case here. The car and the motorcycle are both on the main road, and when the main road changes direction, they sort out who goes first as at an intersection of roads of equal priority: they give way to traffic on the right. The motorcycle is on the blue car's right, so it goes first, the car second and the tram last