When there is an opportunity at the junction to line up there, you drive around each other. This is often the case with separated lanes or if there are tram rails in the middle. Traffic signs or lines on the road surface sometimes clarify the situation.