Composite exponential function differentiation

Problem

Let g, left parenthesis, x, right parenthesis, equals, x, start superscript, start superscript, cosine, left parenthesis, x, right parenthesis, end superscript, end superscript.
Find g, prime, left parenthesis, x, right parenthesis.
Please choose from one of the following options.