In my opinion, he was in a no-win situation with Ana and the only way to make the right decision is to not have had a conversation with her at all. When you have a narcissistic cheating ex no contact is the only way to avoid their hoovering, breadcrumbing, and gaslighting. If he doesn't capitulate to her demands he is still harming Megan because his shitty relationship with his ex is trashing her career through no fault of her own. However, if he doesn't go to her apartment he is accepting that Ana alone is responsible for her actions and that she is only giving him the illusion of control over the outcome. Once he agrees to see her, she's got him. Even if he refuses the sex he is now actively making a decision that hurts Megan's career. If he does knuckle under he not only cheats on Megan after being with her officially for a matter of hours but also compounds his shittiness by just straight-up assaulting and battering Ana, which isn't acceptable even though she was blackmailing him for sex. The ending where he ends up with Ana is tragic, not happy. Probably for them both. They are trapped in an unhealthy relationship pretty much because they are both shitty people who have alienated everyone else.