\(\left(x+1\right)^3-\left(x+3\right)\left(x^2-3x+9\right)=\left(x-3\right)^3+3\left(2x+1\right)^2-\left(x^3-5x+1\right)\)
\(\Leftrightarrow x^3+3x^2+3x+1-x^3-27=x^3-9x^2+27x-27+12x^2+12x+3-x^3+5x-1\)
\(\Leftrightarrow3x^2+3x-26=3x^2+44x-25\)
\(\Leftrightarrow-41x=1\)
\(\Leftrightarrow x=-\dfrac{1}{41}\)