[flashback to 2006:]
Ted: Marshall, this will pass. Trust me. Three years from now...
[fantasy scene in 2009:]
Marshall: Briefcase, lawyer, knighthood, mustache, all that stuff from before.
Ted: Congratulations, bro.
Robin: And congratulations to you too, Ted, for locking this down. You know, it's weird, I never thought I would get married, but you talked me into it. Or rather, banged me into it. You're so good in bed, ooh.
[back:]
Marshall: How is this helping me?
Ted: I'm getting to it. In three years, not only will Lily be back, but...
[2009 fantasy:]
Lily: Ah, it's so nice to be married to a wonderful guy and be carrying his child.
[back:]
Marshall: I think you're being kind of optimistic, Ted. Can I make one little adjustment?
[2009:]
Lily: Ah, it's so nice to be married to a wonderful guy and carrying his child, and here he is now. Guys, I want you to meet some douchey guy named Trey.
Trey: 'Sup, bro?
Lily: I don't know what I love more: His thick mustache or his trucker hat.
Marshall: You know I hate those hats.
Lily: Then you're really gonna hate this sonogram.
Marshall: Nooo...
[back to 2006:]
Marshall: ooo...!