Which is a compound sentence?

 - Earth is one of eight planets in our solar system.
 - The company lowered its costs, so it won't have to close.
The second sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction so.
The company lowered its costs, so it won't have to close.