Question: Here is one sentence: I can not work a miracle.
Here is another sentence: The stitches of the hem worked loose after she wore the skirt many times.
Does the work mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: Red Rum only won by a nose.
Here is another sentence: My horse lost the race by a nose.
Does the nose mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: The shot was wide off the mark.
Here is another sentence: He poured a shot of whiskey.
Does the shot mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: Membership of this golf club is limited to those of quality and wealth.
Here is another sentence: This school is well-known for having teachers of high quality.
Does the quality mean the same thing in the two sentences?

Answer:
different meanings