In a certain code, the value of a word is the sum of the alphabet positions of its letters (A=1, B=2, ..., Z=26). If 'CAT' = 24 and 'DOG' = 26, then what is the value of 'RAT'?
Step 1: Confirm the rule. CAT = C(3) + A(1) + T(20) = 24, and DOG = D(4) + O(15) + G(7) = 26. The rule is the sum of letter positions. Step 2: Apply to RAT. R = 18, A = 1, T = 20. Step 3: Add. 18 + 1 + 20 = 39.