We can write the question as:
Put
u
= sin
x
then
du =
cos
x dx