A construction worker with a hard hat is hammering a nail in.
A person in a hat hammers a nail.
"A construction worker with a hard hat is hammering a nail in" is a longer version of "A person in a hat hammers a nail", and "person" is another way of saying "construction worker".
(-x)
(-x)