Which is a compound sentence?

 - The camera isn't working, so the battery must be dead.
 - The artist prepared a canvas for a new oil painting.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction so.
The camera isn't working, so the battery must be dead.