Complex sentence: Marius discovers Éponine, who disguised herself as a boy, and to protect his best friend, he sends her to deliver a farewell letter to Cosette.
Split into simpler sentences: Marius discovers Éponine, who disguised herself as a boy. To protect his best friend, he sends her to deliver a farewell letter to Cosette.