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