Which is a compound sentence?

 - The nervous swimmer steps onto the diving platform.
 - Amy forgot to bring her dictionary, so she will borrow mine.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction so.
Amy forgot to bring her dictionary, so she will borrow mine.