Put
sinx=t
Then,
cosxdx=dt
Therefore,
I=∫(1−t)(2−t)dt
Using partial fractions,
(1−t)(2−t)1=1−t1−2−t1
Therefore,
I=∫(1−t1−2−t1)dt
Integrating,
I=−log∣1−t∣+log∣2−t∣+C
Using the logarithm property,
I=log1−t2−t+C
Substituting t=sinx,
I=log1−sinx2−sinx+C
Answer
log1−sinx2−sinx+C