Which is a compound sentence?

 - The horse isn't in the stable, so it must be in the pasture.
 - North America is the world's third largest continent.
The second sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction so.
The horse isn't in the stable, so it must be in the pasture.