Complex sentence: Meanwhile, Tracy and Sam had tracked the missing space coupe to Piggy's farm and were doing air surveillance when the Chin Chillars spotted them.
Split into simpler sentences: Meanwhile, Tracy and Sam tracked the missing space coupe to Piggy's farm. They were doing air surveillance when the Chin Chillars spotted them.