Complex sentence: Bugs then lets Sam slip on a banana peel out the other door, and upon hearing Sam knocking at the door, pretends to be a grocer.
Split into simpler sentences: Bugs then lets Sam slip on a banana peel and out the other door. When he hears Sam knocking at the door, Bugs pretends to be a grocer.