derivative with natural logs.

just wanted to check to see if i'm doing this right, any step by step guidance is greatly appreciated.

"find the derivative":

$\displaystyle

f(x) = ln(x^2 + 3x + 1) ln(x^3+1)$

would i start by using chain rule?

u= $\displaystyle x^2 + 3x + 1 $

= $\displaystyle 2x +3 $

$\displaystyle h(u) = lnu = \frac{1}{u}$

$\displaystyle = \frac{1}{x^2+3x+1} * 2x+3 = \frac{2x+3}{x^2+3x+1}$

u= $\displaystyle x^3 + 1 = 3x^2$

$\displaystyle h(u) = lnu = \frac{1}{u}$

$\displaystyle = \frac{1}{x^3+1} * 3x^2 = \frac{3x^2}{x^3+1}$

since those are fractions would i use the quotient rule? or just plug them the way they are into product rule?

with product rule i have:

$\displaystyle f\prime(x) = \frac{2x+3}{x^2+3x+1} * ln(x^3+1) + ln(x^2+3x+1) * \frac{3x^2}{x^3+1}

$

help please! im so confused, final exam tomorrow =\