which of the following is a compound sentence?

To get to the zoo, we took the train and a cab.
Before we left, I bought a hot at the gift shop.
We saw pandas during our visit to the zoo.
It was a beautiful day, so we decided to go to the zoo.

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