g: \(y=ln\left(x^2+x+1\right)\)
=>\(y'=\dfrac{\left(x^2+x+1\right)'}{x^2+x+1}=\dfrac{2x+1}{x^2+x+1}\)
l: \(y=\dfrac{lnx}{x+1}\)
=>\(y'=\dfrac{\left(lnx\right)'\cdot\left(x+1\right)-\left(x+1\right)'\left(lnx\right)}{\left(x+1\right)^2}\)
=>\(y'=\dfrac{\dfrac{1}{x}\left(x+1\right)-lnx}{\left(x+1\right)^2}\)
\(\Leftrightarrow y'=\dfrac{\dfrac{\left(x+1\right)}{x}-lnx}{\left(x+1\right)^2}\)