We are asked to determine the length of CD, to do that we will use the following relationship:

Therefore, we need to determine the value of "x". To do that we will use the intersecting chords theorem, that is:

Now we solve for "x" first by applying the distributive law:

Now we will subtract 21 to both sides:

Now we will subtract 27x to both sides:

Dividing both sides by -6:

Now we replace the value of "x" in the expression for segment CD:

Therefore, the length of CD is 39.