Which is a compound sentence?

 - The butcher cuts the fat off the meat.
 - Megan finished her book, but she got two more from the library.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction but.
Megan finished her book, but she got two more from the library.