Use the chain rule. $$\frac{d}{dt}sin^2(\theta) = \frac{d}{d\theta}sin^2(\theta)\cdot \frac{d\theta}{dt} = ? $$