The two-chip module
A factory makes modules that each contain two chips. Of all modules, 40% are type AA (both chips are grade A) and 60% are type AB (one grade A chip and one grade B chip). You grab a random module, pull out one of its two chips at random, and test it. It is grade A.
What is the probability that the module is type AA?