Q: Sentence (1) The line stretched clear around the corner.
Sentence (2) A dedicated line.. Word: line.
==--==
A: different meanings

Q: Sentence (1) Rally together against a common enemy.
Sentence (2) The enemy attacked at dawn.. Word: enemy.
==--==
A: the same meaning

Q: Sentence (1) It's become a habit of mine to have a cup of coffee after dinner.
Sentence (2) It was their habit to dine at 7 every evening.. Word: habit.
==--==
A:
the same meaning