if you put your mind to itA conditional form of その気になる, meaning to feel inclined, become motivated, or seriously decide to do something. It often implies that something is possible if you genuinely want to do it.
JA: その気になれば、誰でも外国語を話せるようになるよ。
EN: If you put your mind to it, anyone can learn to speak a foreign language.