We can write the question as:

math expression

Put u = sin x then du = cos x dx

math expression