1.
    a. After they rented a car, they drove to San Diego.
    b. They drove to San Diego after they rented a car.
2.
    a. While they were having dinner, the baby woke up.
    b. The baby woke up while they were having dinner.
3.
    a. When they were having dinner, the fireworks show started.
    b. The fireworks show started when they were having dinner.
4.
    a. After the movie ended, we went home.
    b. We went home after the movie ended.
5.
    a. While she was taking a shower,  the door bell rang.
    b. The door bell rang while she was taking a shower.
6.
    a. After they took a shower, they ate breakfast.
    b. They ate breakfast after they took a shower.
7.
    a. Before everyone said hello to him, he said hello to them.
    b. He said hello to everyone before they said hello to him.
8.
    a. When it got dark, they went to sleep.
    b. They went to sleep when it got dark.
9.
    a. When the store had a big sale, she bought herself a pair of shoes.
    b. She bought herself a pair of shoes when the store had a sale.
10.
    a. After she closed the door, she locked it.
    b. She locked the door after she closed it.