Find$$\displaystyle \int \dfrac{6x+4}{x^2+4}dx$$
I'm not really sure where to begin with this one - I know the answer will probably involve an $\arctan$, but I am unsure on how to use $\arctan$ in integrating. A full step by step explanation would be really appreciated.
HINT
Decompose the integral as
$$\int \frac{6x+4}{x^2+4}~\mathrm{d}x = 3\int \frac{2x}{x^2+4}~\mathrm{d}x+4\int\frac{1}{x^2+4}~\mathrm{d}x$$
The first integral on the right will involve $\ln$ and the second will involve $\arctan$.