If the code for 'CAT' is 12, 15, 18 and the code for 'DOG' is 14, 17, 20, what is the code for 'BAD'?

Answer: C. 9, 11, 13
The pattern shows that each letter's position in the alphabet is increased by 2 for the code.