Question: how xp works in 5e?
Answer: 260: Experience Points. There, the rules are basically: Add up all the XP values of the monsters defeated (not necessarily killed, but captured, run off, etc.) Divide that total evenly among party members (which includes any NPCs the group got "substantial assistance" from during the encounter).