After the infinitive TO, we must use the base form of a verb, not a past tense verb. So TO HAD TAKEN is utterly wrong. You should say TO TAKE A CHANCE.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.