[TL;DR] You can get to 6 answers by picking a different first choice of rule to fulfil and then by applying the logical consequences of the remaining rules.
- Amstel, Budweiser, Corona, Dixie, Heineken;
- Amstel, Budweiser, Corona, Guinness, Heineken;
- Amstel, Budweiser, Fosters, Guinness, Heineken;
- Amstel, Corona, Fosters, Guinness, Heineken;
- Amstel, Corona, El Toro, Fosters, Heineken; or
- Corona, El Toro, Fosters, Guiness, Heineken.
Starting with rule 1:
If you drink the Amstel and the Guinness, you must also drink the Heineken.
Lets assume that we're going to drink the Amstel and the Guinness and so our 3rd beer must be the Heineken which gives 2 more that are unpicked (out of Budweiser, Corona, Dixie, El Toro and Fosters).
The fourth rule is:
You must drink exactly two of the three bottles of Budweiser, Corona, and Fosters.
This means that, once we've decided to drink the beers in Rule 1, we must either drink:
- Amstel, Budweiser, Corona, Guinness, Heineken;
- Amstel, Budweiser, Fosters, Guinness, Heineken; or
- Amstel, Corona, Fosters, Guinness, Heineken.
None of these three options violate rule 2:
If you drink the Dixie, you may not drink the Fosters or the Guinness.
since we aren't drinking the Dixie.
or rule 3:
If you drink the El Toro, you may not drink the Budweiser.
since we aren't drinking the El Toro.
Starting with rule 2:
If you drink the Dixie, you may not drink the Fosters or the Guinness.
And drink the Dixie, then by Rule 4:
You must drink exactly two of the three bottles of Budweiser, Corona, and Fosters.
We know that we can't drink the Fosters (since we're drinking the Dixie), so we must drink the Budweiser and Corona. This leaves the options for the remaining drinks as two out of: Amstel, El Toro or Heineken.
Rule 3 says:
If you drink the El Toro, you may not drink the Budweiser.
Well, in this option, we are drinking the Budweiser so we cannot drink the El Toro and the beers we're drinking must be:
- Amstel, Budweiser, Corona, Dixie, Heineken
Starting with rule 3:
If you drink the El Toro, you may not drink the Budweiser.
And drink the El Toro, then by Rule 4:
You must drink exactly two of the three bottles of Budweiser, Corona, and Fosters.
We know that we can't drink the Budweiser (since we're drinking the El Toro), so we must drink the Corona and Fosters. This leaves the options for the remaining drinks as two out of: Amstel, Dixie, Guinness or Heineken.
Rule 2 says:
If you drink the Dixie, you may not drink the Fosters or the Guinness.
Well, in this option, we are drinking the Fosters so we cannot drink the Dixie and this then leaves us drinking 2 beers out of: Amstel, Guinness or Heineken.
Rule 1 states:
If you drink the Amstel and the Guinness, you must also drink the Heineken.
Since we've got 3 beers picked already and only want 2 remaining ones then we can't drink Amstel and Guinness as we would then also have to drink the Heineken and we can only pick 2-of-the-3. Therefore the remaining options are Heineken and one of the other two:
- Amstel, Corona, El Toro, Fosters, Heineken; or
- Corona, El Toro, Fosters, Guiness, Heineken.
Checking that is all the options:
Another method is to get the set of valid combinations for BCDEF
(based on Rules 2-4) and the set of valid combinations for AGH
(based on Rule 1) and then combine them to give valid lists of 5 drinks:
Rule 4 means we must have a pair of drinks from the set { (BC), (BF), (CF) }
.
Rule 2 means that when F
is not being drunk we could chose to add D
to the drinks giving the possible sets: { (BC), (BCD), (BF), (CF) }
Rule 3 means that when B
is not being drunk we could chose to add E
to the drinks giving the possible sets: { (BC), (BCD), (BF), (CEF), (CF) }
This is all the possible combinations of the drinks from BCDEF
.
Independently:
- Rule 1 considers the drinks
AGH
and gives the possible sets of drinks { (), (A), (G), (H), (AH), (GH), (AGH) }
Since we must drink 5 drinks in total, we can combine the two sets and eliminate any combinations that do not total 5 giving:
{ (BC)+(AGH), (BCD)+(AH), (BCD)+(GH), (BF)+(AGH), (CEF)+(AH), (CEF)+(GH), (CF)+(AGH) }
However, Rule 2 also states that D
and G
cannot be drunk together which eliminates one option and leaves only 6 possible combinations:
{ (ABCGH), (ABCDH), (ABFGH), (ACEFH), (CEFGH), (ACFGH) }