You can remember the meaning of 如何 with this easy mnemonic:
If (如) you do adopt this dog, how (何) will you take care of her when you're away on business trips?
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.