I need help to differentate these 2 questions. Thanks for your help in advance.

y = sinx/1+cosx

For this one, i tried the quotient rule and ended off with cosx + cos^2(x) + sin^2(x)/ 1+cosx^2 which is not the right answer.

y = cos(sin2x)

I tried product rule and for the wrong answer.