Differential Equation

I am having trouble Differentiating the following with respect to ∅. Can you show me the steps I need to take to get the given correct answer please.

z = ((A+B)/2) + ((A-B)/2)Cos2∅ + C Sin2∅

Tan2∅ = (2C)/(A-B)