Historical Rules · 8 September 2022
Rule 107.3e
Official source text from the 8 September 2022 Rules release
If a spell or ability refers to the {X} or X in the mana cost, alternative cost, additional cost, or activation cost of another object, any X in that spell or ability’s text uses the value of X chosen or defined for the other object.