Ok so the questions were:
(a) How to differentiate tan(x) sin(x) and to sin(x)(tan2(x) + 2)
(b) How to differentiate cos(3x)/sin(x).
For (a), we use:
Putting these together:
d/dx(tan(x) sin(x))
= sec2(x) sin(x) + tan(x) cos(x) [Using (1), (2) and (3)]
= sec2(x) sin(x) + sin(x) [Using (4)]
= (sec2(x) + 1) sin(x) [By factoring out sin(x)]
= (tan2(x) + 2) sin(x) [Using (5)]
Have a go at (b) yourself, keeping in mind, firstly the quotient rule, and secondly the trigonometric identities given on the relevant Wikipedia page.