Answer
$=-4sinx+2cosx$
Work Step by Step
Use the derivative of $sinx (cosx)$ and the derivative of $cosx (-sinx)$ to differentiate each term. The $4$ and $2$ before the functions are constants, so they are just multiplied to the derivative. Therefore, the derivative is $=-4sinx+2cosx$.