Which of the following is a compound sentence?
When we went walking in the woods, our dog picked up fleas.
We took our dog for a walk in the woods, and he picked up fleas.
Our dog picked up fleas and ticks during our walk in the woods.
After our walk in the woods, we found fleas and ticks on our dog.