Q: Sentence (1) Take the gun from your pocket.
Sentence (2) Mother took our plates away and came back with some fruit for us to eat.. Word: take.
==--==
A: the same meaning

Q: Sentence (1) His salary was determined by his rank and seniority.
Sentence (2) The entrance was guarded by ranks of policemen.. Word: rank.
==--==
A: different meanings

Q: Sentence (1) Police controlled the motion of the crowd.
Sentence (2) He made a motion to adjourn.. Word: motion.
==--==
A:
different meanings