\[ \int \frac {(d+e x)^3}{c d^2+2 c d e x+c e^2 x^2} \, dx \]
Optimal antiderivative \[ \frac {\left (e x +d \right )^{2}}{2 c e} \]
command
integrate((e*x+d)^3/(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^{2} e + 2 \, d x}{2 \, c} \]
Giac 1.7.0 via sagemath 9.3 output
\[ \text {Exception raised: NotImplementedError} \]________________________________________________________________________________________