Let x be the level of the game.
Since at level 1, there are 5 hidden treasures then we can represent it as
x + c = 5
Solve for c
1 + c = 5
c = 5 - 1
c = 4
Therefore, we can represent the level number in the game to determine the number of treasures as
x + 4
Complete the equation by letting y be the number of hidden treasures in a certain level. This finally becomes y = x + 4.