## Evaluate $\int \frac{3}{x}-\frac{2}{x^2}+1+3xdx$?

I need to evaluate $$\int \frac{3}{x}-\frac{2}{x^2}+1+3xdx$$. I have done these steps.

$$\int \frac{3}{x}-\frac{2}{x^2}+1+3xdx$$

$$=1\int \frac{1}{x}dx-2\int x^{-2}dx+ \int1 dx+3 \int xdx$$

$$= 3\ln |x|-\frac{2}{x}+x+ \frac{3x^2}{2}+C$$

But this is apparently wrong.