Let
y=sin2xacos2x+bsin2x
On differentiating and we get,
dydx=(acos2x+bsin2x)ddxsin2x−sin2xddx(acos2x+bsin2x)(acos2x+bsin2x)2
=2cos2x(acos2x+bsin2x)−sin2x(−asin2x+bsin2x)(acos2x+bsin2x)2
=2cos2x(acos2x+bsin2x)−sin22x(b−a)(acos2x+bsin2x)2
Hence, this is the answer.