Complex sentence: If Philip should die or refuse, the offer was to extend to his younger brother, the Duke of Berry; if they both refused, the undivided inheritance would be offered to Archduke Charles.
Split into simpler sentences: If Philip should die or refuse the offer was to extend to his younger brother, the Duke of Berry. However, if they both refused the undivided inheritance would be offered to Archduke Charles.