\[ \int \frac {(d+e x)^2}{c d^2+2 c d e x+c e^2 x^2} \, dx \]
Optimal antiderivative \[ \frac {x}{c} \]
command
integrate((e*x+d)^2/(c*e^2*x^2+2*c*d*e*x+c*d^2),x, algorithm="giac")
Giac 1.9.0-11 via sagemath 9.6 output
\[ \frac {x}{c} \]
Giac 1.7.0 via sagemath 9.3 output
\[ \text {Exception raised: NotImplementedError} \]________________________________________________________________________________________