Sentence 1: John was at lunch with his friend Jim. 
 Sentence 3: John shook Jim's soda can vigorously 
 Sentence 4:  When Jim came back from the restroom he opened his can 
 Sentence 5:  The can sprayed everywhere Jim looked suspiciously at John 
 Given Sentence 2: Jim got up to use the restroom.