You can remember the meaning of 合同 with this easy mnemonic:
I'm trying to close (合) the same (同) contract that my father did with this client 30 years ago.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.