In a carton, 2/5 of the apples are red and the rest are green. 1/10 of the green apples and 1/5 of the red ones are rotlen. What fraction of the apples in the carton is rotten?

1/5 * 2/5 + 1/10 * 3/5 = 7/50

assuming all apples ere either red or green ...