What is the sum of the numbers on the colors green and red?

how i did it

I made the cube in solidworks

Then I used Claude for the code (its amazing!!)