Problem: Sentence1: I will work hard to improve my grades.
Sentence2: John worked with Paul on the task.
Q: Does the term work mean the same thing in both these sentences?

Answer: the same meaning

Problem: Sentence1: The film is set in Africa.
Sentence2: Set the tray down.
Q: Does the term set mean the same thing in both these sentences?

Answer: different meanings

Problem: Sentence1: The development and printing of his pictures took only two hours.
Sentence2: After he saw the latest development he changed his mind and became a supporter.
Q: Does the term development mean the same thing in both these sentences?

Answer: different meanings

Problem: Sentence1: His friend's opinion had an impact on his decision.
Sentence2: Our choice of concrete will have a tremendous impact on the building's mechanical performance.
Q: Does the term impact mean the same thing in both these sentences?

Answer:
the same meaning