A man wearing a cowboy hat holds a beer while attempting to hammer a nail.
The man wearing the hat holding a beer and a hammer.
wearing the hat holding a beer and a hammer is a rephrasing of wearing a cowboy hat holds a beer while attempting to hammer a nail
(-x)
(-x)