If a spell you cast has {X} in its mana cost, you choose the value of X before calculating the spell’s total cost. For example, if a spell’s mana cost is {X}{R} and your opponents have drawn two cards this turn, you could choose 5 as the value of X and pay {3}{R} to cast the spell.