Joe Jonas and Sophie Turner have agreed to settle their divorce in private after reaching a custody agreement following mediation sessions.