In this rule

Historical Rules · 18 June 2021

Rule 118.13b

Official source text from the 18 June 2021 Rules release

Permalink

If a cost paid during the resolution of a spell or ability contains a mana symbol that can be paid in multiple ways, the player paying that cost chooses how to pay for that symbol immediately before they pay that cost.

Find this number in the current Rules