chords AB and CD intersect as shown nelow find the length of CD

We are asked to determine the length of CD, to do that we will use the following relationship:
[tex]\begin{gathered} CD=21+x+1 \\ CD=22+x \end{gathered}[/tex]Therefore, we need to determine the value of "x". To do that we will use the intersecting chords theorem, that is:
[tex](21)(x+1)=(9)(3x-9)[/tex]Now we solve for "x" first by applying the distributive law:
[tex]21x+21=27x-81[/tex]Now we will subtract 21 to both sides:
[tex]\begin{gathered} 21x=27x-81-21 \\ 21x=27x-102 \end{gathered}[/tex]Now we will subtract 27x to both sides:
[tex]\begin{gathered} 21x-27x=-102 \\ -6x=-102 \end{gathered}[/tex]Dividing both sides by -6:
[tex]x=-\frac{102}{-6}=17[/tex]Now we replace the value of "x" in the expression for segment CD:
[tex]\begin{gathered} CD=22+17 \\ CD=39 \end{gathered}[/tex]Therefore, the length of CD is 39.