You are given the full length and the lengths of all the sections other than CD.
Subtract the given sections from the entire length to get CD.
12 1/2 - 6 1/2 = 6
CD = 6