When two figures are similar, the ratio between corresponding parts of the shapes is the same.
In this case, the segment BC corresponds to GH and the side HI corresponds to CD. Then:
![(CD)/(HI)=(BC)/(GH)](https://img.qammunity.org/2023/formulas/mathematics/college/6qdewj4ombzv6ixfst6fv2ffh7ee1tip9j.png)
Replace HI=49, BC=3 and GH=21. Then, solve for CD:
![\begin{gathered} \Rightarrow CD=(BC)/(GH)* HI \\ \\ =(3)/(21)*49 \\ \\ =7 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/9ar6b1ehbek6cbp6npq27nfzr7q4q77i5a.png)
Therefore, the lengh of side CD is 7. The correct choice is option d) 7.