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