Complex sentence: Her first instinct upon learning of the Sisters' "plague farm" was to attempt to blackmail them; when this failed, she helped the Doctor put an end to it, albeit largely out of self-preservation.
Split into simpler sentences: Her first instinct upon learning of the Sisters' "plague farm" was to attempt to blackmail them. When this failed, she helped the Doctor put an end to it, albeit largely out of self-preservation.