\(\left(x-4\right)^3-\left(x-5\right)\left(x^2+5x+25\right)=\left(x+2\right)\left(x^2-2x+4\right)-\left(x+4\right)^3\)
\(\Leftrightarrow x^3-12x^2+48x-64-x^3+125=x^3+8-x^3-12x^2-48x+64\)
\(\Leftrightarrow-12x^2+48x+61=-12x^2-48x+72\)
\(\Leftrightarrow48x+61=-48x-72\)
\(\Leftrightarrow x=\dfrac{-133}{96}\)