Problem: Sentence1: He was a member of a special police unit.
Sentence2: The reduced the number of units and installations.
Q: Does the term unit mean the same thing in both these sentences?

Answer: the same meaning

Problem: Sentence1: He put all his efforts into this job.
Sentence2: Put these words to music.
Q: Does the term put mean the same thing in both these sentences?

Answer: different meanings

Problem: Sentence1: Can you connect the two loudspeakers?
Sentence2: Herman connected the computers.
Q: Does the term connect mean the same thing in both these sentences?

Answer: the same meaning

Problem: Sentence1: Murder in the second degree.
Sentence2: There are 360 degrees in a circle.
Q: Does the term degree mean the same thing in both these sentences?

Answer:
different meanings