The player takes the Resources shown on the Resource tile next to that space from the general supply, multiplied by the number of dice in that space (as a maximum: the player may take a smaller amount if they wish).
Resources are limited to the quantity in the general supply. If any of them run out, any action that would award that Resource has no effect until the supply is replenished.
After moving the yellow die, the player performs the “Take 2 Bricks” action twice (because there are 2 dice in the space) and gets 4 bricks. Since yellow is the player’s color, they could have paid 1 Ruble and instead landed where the red die is to obtain 4 Lumber.