Sentence 1: Ralph went to get ice cream at the beach. 
 Sentence 3: Ralph bought his ice cream and kept talking to Joe 
 Sentence 4:  They talked for so long, all of Ralph's ice cream melted 
 Sentence 5:  Ralph went back in line for more ice cream 
 Given Sentence 2: While in line he ran into his friend, Joe.