It has to give you a 2 digits code. But for achieving you have to calculate each one in order, as RED + BLUE, the RESULT - YELLOW, the next result * 9.