Each code is a separate entry.
Enter the amount shown for code D in box 12 and on the next line for box 12 enter the amount for code DD
See screenshot