\(C=\left(x+5\right)^3-x^3-125=x^3+15x^2+75x+125-x^3-125=15x^2+75x=15x\left(x+3\right)\)
\(D=\left(\frac{1}{2}a+b\right)^3+\left(\frac{1}{2}a-b\right)^3\)
\(=\frac{1}{8}a^3+\frac{3}{4}a^2b+3ab^2+b^3+\frac{1}{8}a^3-\frac{3}{4}a^2b+3ab^2-b^3=\frac{1}{4}a^3+6a^2b\)