Q: Sentence (1) Give that lamp a good rub and see if any genies come out.
Sentence (2) He gave the hood a quick rub.. Word: rub.
==--==
A: the same meaning

Q: Sentence (1) The hurricane demolished houses in its path.
Sentence (2) Genius usually follows a revolutionary path.. Word: path.
==--==
A: different meanings

Q: Sentence (1) She could not come because she was too upset.
Sentence (2) He came after a few minutes.. Word: come.
==--==
A:
the same meaning