There's something like that on one of the routes I take. I do what many others have suggested and basically follow the red line but it's also a matter of establishing yourself as you approach the transition, signal early and try to find the best break in traffic to merge with. I also use a mirror. The yellow line is more of what a pedestrian would do.
The bottom line is do what you feel is the safest approach and follow your instincts.