The answer depends on where the tram tracks run: down the middle of the street, to the left of your roadway and level with it. In such a place, a U-turn is made from the tram tracks going your way, unless signs or road markings set a different order; there are none on this stretch. Path B does exactly that: the car first moves onto the nearer tracks, drives along them, and only from there turns around to the opposite side. When moving onto the tracks, you must not get in the tram's way. There are no other U-turn bans here: this is not a crosswalk, a bridge or a bus stop