Derivative of the quotient of sines: 
Via the Scalar Multiple rule, we can treat this as
.
We can go a step further and consider it as involving a quotient and apply the Quotient rule

Using the derivative of the sine, we get

Simplifying and reordering, we get

Note that the argument of the cosines in the result is the same as the argument of the sines in the original problem.