c1:\(\left(x+5\right)^2-x^3-125=\left(x+5\right)^2-\left(x^3+5^3\right)=\left(x+5\right)^2-\left(x+5\right)\left(x^2-5x+25\right)=\left(x+5\right)\left(x+5-x^2+5x-25\right)=\left(x+5\right)\left(-x^2+6x-20\right)=-x^3+x^2+10x-100\)
c2: \(\left(x+5\right)^2-x^3-125=x^2+10x+25-x^3-125=-x^3+x^2+10x-100\)