## Calculus, 10th Edition (Anton)

The derivative using chain rule requires the entire derivative to be multiplied by the derivative of the inside function, so $\frac{dy}{dx} = -sin(g(x)) \times g'(x)$.