Sentence 1: John liked swimming. 
 Sentence 3: The pool was thirty miles away so he packed lunch and some clothes 
 Sentence 4:  John arrived at the pool as they were shutting the gates 
 Sentence 5:  He asked the worker if he could swim for ten minutes, he agreed 
 Given Sentence 2: He didn't have a pool at home so he went to the public pool.