Answer:
The venus fly trap snapped shut, but the nearby bug narrowly escaped being caught. 
Step-by-step explanation:
Compound Sentences refer to set of two combined sentences or phrases, through conjunctions & punctuation pauses. They represent two linked facts in a single sentence, enrich the narrative. 
'The venus fly trap snapped shut, but the nearby bug narrowly escaped being caught' is a Compound Sentence