\[ \int -\frac {12}{324+e^2-36 x+x^2+e (-36+2 x)} \, dx \]
Optimal antiderivative \[ \frac {4}{-6+\frac {{\mathrm e}}{3}+\frac {x}{3}}+4 \]
command
integrate(-12/(exp(1)^2+(2*x-36)*exp(1)+x^2-36*x+324),x, algorithm="giac")
Giac 1.9.0-11 via sagemath 9.6 output
\[ \frac {12}{x + e - 18} \]
Giac 1.7.0 via sagemath 9.3 output
\[ \text {Exception raised: NotImplementedError} \]________________________________________________________________________________________