( 1-sinx)' =
The first derivative of 1 is 0.
The first derivative of sin(x) is cos(x).
The first derivative of 1 - sin(x) = 0 - cos(x) = -cos(x).