Law of total probability
If everything possible splits into groups that exclude each other, the probability of an event is the sum over the groups: group share times probability of the event within the group.
Example: Plant A supplies 60 % with 2 % rejects, plant B 40 % with 5 %: 0.6 · 0.02 + 0.4 · 0.05 = 0.032.