The following is an example of a compound sentence

a. I kicked the soccer ball and missed
b. I kicked the soccer ball, but I missed the goal.
c. I kicked the soccer ball
d. I missed the goal

The answer is (b) "I kicked the soccer ball, but I missed the goal." as it has two independent clauses joined by the conjunction "but" which makes them a compound sentence.