Compute the general solution of the linear inhomogeneous differential equation y' = $\displaystyle \frac{-y}{1 + x}+ 3x$ .
It doesn't help to find the integrating factor if you don't know what an "integrating factor" is! Don't memorize formulas, learn concepts!
An integrating factor for a linear differential equation of the form dy/dx+P(x)y= f(x,y) is a function of x, $\displaystyle \mu(x)$ such that multiplying both sides of the equation by it converts the left side into a "perfect" derivative so that the equation becomes: $\displaystyle \mu(x)dy/dx+ \mu(x)P(x)y= \frac{d(\mu(x)y)}{dx}= \mu(x)f(x,y)$.
If (1+ x) really is an integrating equation (I haven't checked that) then multiplying 1+x on both sides converts the equation $\displaystyle \frac{dy}{dx}+ \frac{1}{1+ x} y= 3x$ to $\displaystyle \frac{d((1+x)y}{dx}= 3x((x+1)$. Now integrate both sides with respect to x.