Q: Sentence (1) Crime doesn't pay.
Sentence (2) It pays to go through the trouble.. Word: pay.
==--==
A: the same meaning

Q: Sentence (1) These luxuries all had to go under the Khmer Rouge.
Sentence (2) This violinist is as good as Juilliard-trained violinists go.. Word: go.
==--==
A: different meanings

Q: Sentence (1) The country set.
Sentence (2) The smart set goes there.. Word: set.
==--==
A:
the same meaning