Complex sentence: He drives Homer to Dr. Nicks, but when they leave the truck, they discover that it is on fire.
Split into simpler sentences: He drives Homer to Dr. Nicks. When they leave the truck, they discover that it is on fire.