In a certain code, if 'DOG' is coded as '415', how is 'CAT' coded?

Answer: A. 312
D=4, O=15, G=7; C=3, A=1, T=20; thus, CAT=312.