The pyramid wall simply needs addition and subtraction based on numbers arranged in a pyramid. The solution is the sum of the numbers at the red green and blue positions.