Complex sentence: She loved to torture droids when they messed up, as seen in "Return of the Jedi", when her assistant tortures a Gonk droid.
Split into simpler sentences: She loved to torture droids when they messed up. As seen in "Return of the Jedi", when her assistant tortures a Gonk droid.