Sentence 1: A man wearing a cowboy hat holds a beer while attempting to hammer a nail. Sentence 2: The man wearing the hat holding a beer and a hammer.
The cowyboy has a beer and attempted to hammer a nail but instead he hammered his finger.