Trying to solve this for a while now, so far I was able to come up without a proper answer.
Problem : $\displaystyle \int (4x+2)\sqrt{x^2+x+1}\,dx$.
I tried to take two common from $(4x+2)$ and also to take $(x+1)^2 - x$ from the root, but wasn't able to come up with something to take for substitution. A hint in the right direction would be highly appreciated
Edit :
I forgot to mention this. As this is part of the integration by substitution exercise it'd be highly appreciated if you could provide the hint in that direction.
Hint :
Are you asking $$ \int (4x+2)\sqrt{x^2+x+1}\ dx = \ldots? $$ If so, let $u=x^2+x+1\ \Rightarrow\ du=2x+1$.