Find the integral using partial factions.
$$\int\frac{(2x^2+5x+3)}{(x-1)(x^2+4)}\,dx$$
So do I do...$$\frac{2x^2+5x+3}{(x-1)(x^2+4)}=\frac{A}{x-1} + \frac{Bx+C}{x^2+4},$$
then get \begin{align*} 2x^2+5x+3 &= A(x^2+4)+(Bx+C)(x-1) \\ 2x^2+5x+3 &= Ax^2+4A+Bx^2-Bx+Cx-C? \end{align*}
Note that we can simply add zero: $2x^2 = 2(x^2 + 4) - 8 = 2x^2 + 8 - 8$. Then $$\frac{2x^2 + 5x + 3}{(x - 1)(x^2 + 4)} = \frac{2(x^2 + 4) - 8 + 5x + 3}{(x - 1)(x^2 + 4)} = \frac{2}{x - 1} + \frac{5x - 5}{(x - 1)(x^2 + 4)}.$$ Do you think you can integrate $$\frac{2x^2 + 5x + 3}{(x - 1)(x^2 + 4)}$$ now?
Hint: $$\frac{5x - 5}{(x - 1)(x^2 + 4)} = \frac{5(x - 1)}{(x - 1)(x^2 + 4)} = \frac{5}{x^2 + 4}$$ and $$\int \frac{1}{x^2 + a^2} = \frac{1}{a}\tan^{-1}\frac{x}{a} + C, \quad a \ne 0.$$