The command of Maple 2024
Код:
dsolve((3*x + 2)^2*diff(y(x), x, x) + 5*(3*x + 2)*diff(y(x), x) - 3*y(x) = x^2 + x + 1)
produces
The command of Maple 2024
Код:
odetest(y(x) = (c[1] - x/4 - x^2/8 - x^2/12)/(3*x + 2) - x^2/4 - x/4 + (3*x + 2)*(x/48 + 1/8) - 1/144*(3*x + 2)^2 + c[2]*(3*x + 2)^(1/3), (3*x + 2)^2*diff(y(x), x, x) + 5*(3*x + 2)*diff(y(x), x) - 3*y(x) = x^2 + x + 1)
results in

, not confirming your result by hand.