You can remember the meaning of 只要 with this easy mnemonic:
I only (只) want (要) Justin Bieber to love me as much as I love him! If only I can meet him in person, then I can make him fall in love with me.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.