Dungeon needs to be unlocked, both Emily and Leyla need to be unlocked as dungeon options (follow the hints if they aren't yet), then you need to have invited Leyla once and Emily twice (in Emily's case, you need to have had rough doggystyle sex in the dungeon twice).