The correct option is B
17cos7x−15cos5x+C
For solving these types of integrals we check the powers on cosine and sine term Here, the power on sine term is odd, so we make a substitution u=cosx
then we get, du=−sinxdx
Then our integral becomes, I=−∫u4(1−u2) du⇒I=−∫(u4−u6) du⇒I=−u55+u77+CSubsituting back u=cos x we get:I=cos7 x7−cos5 x5+C
Thus, Option b. is correct.