You can remember the meaning of 避免 with this easy mnemonic:
Avert your eyes if you want to avoid (避) starting a fight with the gang. No one's exempt (免) from their rage.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.