Mark M. answered 10/26/19
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
Use logarithmic differentiation.
y = (x+3)cosx
lny = ln[(x+3)cosx] = (cosx)ln(x+3)
y' / y = -(sinx)ln(x+3) + (cosx)(1/(x+3))
y' = y[-(sinxln(x+3) + cosx / (x+3)] = (x+3)cosx [ -(sinx)ln(x+3) + cosx / (x+3) ]