You can remember the meaning of 古巴 with this easy mnemonic:
I was so scared when we visited the ancient (古) castle in Cuba that I was clinging (巴) to my friend during the whole tour.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.