Complex sentence: Supergirl reveals her identity to Lucy, who is made head of the D.E.O at the end of the episode.
Split into simpler sentences: Supergirl reveals her identity to Lucy. Lucy is made head of the D.E.O at the end of the episode.