Differentiate 2cos(x)+2sin(x)cos(x)