Determine the complementary function for the homogeneous equation which satisfies the given initial conditions.
$(3+t)x''(t)+(2+t)x'(t)-x(t)=(3+t)^2 \space\space \space \forall \space t > 0 $ subject to $x(0)=0$ and $x'(0)=1$
One independent solution to the homogeneous equation is $e^{-t}$
How would I find the CF of a non-constant coefficients ODE?
You can solve the equation by the method of reduction of order since you already have a solution of the equation. $$x(t)=e^{-t}v(t)$$ I got for the homogeneous equation the following solution $$x(t)=c_1e^{-t}+c_2(t+2)$$ With the method of reduction of order you should be able to solve the inhomogeneous equation..
After substitution I got a first order DE $$(t+3)v''-(t+4)v'=e^t(t+3)^2$$ $$\frac {(t+3)v''-v'}{(t+3)^2}-\frac {v'}{t+3}=e^t$$ $$\left (\frac {v'}{(t+3)}\right )'-\frac {v'}{t+3}=e^t$$ $$\left (\frac {v'}{(t+3)}\right )'e^{-t}-\frac {v'}{t+3}e^{-t}=1$$ $$\left (\frac {v'}{(t+3)} e^{-t}\right)'=1$$ Integrate $$\left (\frac {v'}{(t+3)} e^{-t}\right)=t+K$$ $$ v'=e^{t}(t+K)(t+3)$$ Integrate to get $v(t)$ $$ \implies v(t)=\int e^{t}(t+K)(t+3)dt$$
Edit after @Lutzl 's right comment
$$(3+t)x''(t)+(2+t)x'(t)-x(t)=(3+t)^2$$ $$(3+t)x''(t)+(2+t)x'(t)+\color{red}{x'-x'}-x(t)=(3+t)^2$$ $$(3+t)(x''+x'(t))-(x'+x(t))=(3+t)^2 $$ Substitute $v=x'+x$ the equation is a first order one. $$(3+t)v'(t)-v(t)=(3+t)^2$$ It's of the form $(\frac f g)'=1$ $$\implies \left (\frac v {t+3}\right)'=1$$ After integration $$v=(t+3)(t+K) \implies x'+x= (t+3)(t+K)$$ $$(xe^t)'=(t+3)(t+K)e^t$$ Integrate $$xe^t=\int (t+3)(t+K)e^t dt$$ Finally $$\boxed {x(t)=Ce^{-t}+K(t+2)+t^2-3}$$