Which is a compound sentence?

 - Last night we heard an owl outside in the oak tree.
 - I ate all of my dinner, so I can have some pie.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction so.
I ate all of my dinner, so I can have some pie.