Complex sentence: Aristophanes represents Xanthias as braver and cleverer than Dionysus, as he illustrates during the Empousa scare and by Xanthias tricking Aeacus into whipping both of them to differentiate between master and servant.
Split into simpler sentences: Aristophanes represents Xanthias as braver and cleverer than Dionysus. Xanthias pretends to see Empousa, frightening Dionysus, and Xanthias tricks Aeacus into whipping both of them to differentiate between master and servant.