## Calculus, 10th Edition (Anton)

$=-4sinx+2cosx$
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$.