Sentence 1: Tom had been feeling something sore in his mouth all day. 
 Sentence 3: Finally, he realized that his wisdom teeth must be coming in 
 Sentence 4:  He called his dentist immediately for an appointment 
 Sentence 5:  With his dentist's recommendation, he took some ibuprofen 
 Given Sentence 2: He started looking things up online.