Solution:
Write the numerator in terms of the derivative of x2+4x+10, which is 2x+4:
5x+3=25(2x+4)−7
Therefore,
∫x2+4x+105x+3dx=25∫x2+4x+102x+4dx−7∫x2+4x+10dx=25I1−7I2
In I1, put x2+4x+10=t, so that (2x+4)dx=dt.
I1=∫tdt=2x2+4x+10+C1
For I2, complete the square:
x2+4x+10=(x+2)2+(6)2
Using ∫x2+a2dx=logx+x2+a2+C,
I2=logx+2+x2+4x+10+C2
Substituting I1 and I2,
∫x2+4x+105x+3dx=5x2+4x+10−7logx+2+x2+4x+10+C