Answer:
2 cubes are red, 6 are blue, the rest are yellow so 8
Step-by-step explanation:
Pythagoras theorm state is-
the square of the hypotenuse side is equal to the sum of squares of the other two sides