Which is a compound sentence?

 - Robert practiced pitching the ball, so he became even better.
 - The jewels on your necklace sparkle in this light.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction so.
Robert practiced pitching the ball, so he became even better.