A person in a hard hat is doing some work on a train track.
Someone with a safety hat is working on a rail road track
A hard hat is the same as a safety hat, and a train track is the same as a rail road track.
(-x)
(-x)