Sentence 1: Brian was having frequent backaches. 
 Sentence 3: His doctor suggested that he buy a new mattress 
 Sentence 4:  Brian took his advice and purchased a sleep number mattress 
 Sentence 5:  He hasn't had a backache since his new purchase 
 Given Sentence 2: He was visiting his doctor often.