Sentence 1: Jim's dog was walking with a limp. 
 Sentence 3: The vet said his dog had a sore leg 
 Sentence 4:  He told Jim to let his dog rest for a few days 
 Sentence 5:  Jim's dog felt better and was walking normally the next day 
 Given Sentence 2: Jim took his dog to the vet.