You can sum like terms. Two terms can be summed if they are both constants (i.e. pure numbers) or if they involve the same powers of the same variable.
In this case, 3x and 13x can be summed because they both involve 'x' alone. The sum is
As for the other two terms, you simply have to sum two numbers, as usual:
I think your teacher is implying for you to explain the function and the "works" behind the game. Maybe talk about the game's programming or the way it's overall structured?