The answer depends on the place: the tram tracks cross the roadway somewhere other than an intersection. Where tracks cross a road away from an intersection, the tram has priority over other vehicles. The tram is turning right along its rails, across the lane in which the car is going straight, so the car's driver must give way to it