Sentence 1: Fred was so nervous for his test. 
 Sentence 3: But all the sudden he did well 
 Sentence 4:  It wasn't as hard as he thought 
 Sentence 5:  Hence Fred was thrilled 
 Given Sentence 2: He was afraid he wouldn't do well.