Number of samples =40Number of sticks not spoilt = 40 - 15=25AlternativelyProbability of not =1− Probability of isProbability of is =1 - Probability of notThus when you sum up probability and it's negative, the result should be 1Now we can substract the probability of the spoilt from 1 to get the probability of not spoilt