Which of the following is a compound sentence?

Responses

To get to the zoo, we took the train and a cab.

It was a beautiful day, so we decided to go to the zoo.

We saw pandas during our visit to the zoo.

Before we left, I bought a hat at the gift shop.

To get to the zoo, we took the train and a cab.