Sentence 1: Iva wanted to buy a dog. 
 Sentence 3: Then she decided to do a good deed by adopting a shelter dog 
 Sentence 4:  Iva went to the shelter and picked out a new dog 
 Sentence 5:  She was so glad she had rescued a great dog for her pet! 
 Given Sentence 2: She thought about going to a pet store.