Complex sentence: Lamia arrives and kills Sal which frees Una from slavery but then Una and Yvaine are captured by Lamia who takes them to the witches' castle.
Split into simpler sentences: Lamia arrives and kills Sal, which frees Una from slavery, but both Una and Yvaine are captured by Lamia. Lamia takes them to the witches' castle.