The answer depends on the green light shared by the tram and other vehicles. When a traffic light lets trams and other vehicles go at the same time, the tram has the right of way, wherever it is going. You are turning left and crossing the tram tracks, where a tram is moving next to you in the same direction. So first give way to it, and only then finish your turn