2 answers
(click or scroll down)
Assuming the colours are uniformly distributed over the shapes, we can use the multiplication rule to get
P(red cubes)=P(red)*P(cubes)=0.4*0.1=0.04