Let,
y=∫cos5θcos3θdθ ……(1)
y=12∫2cos5θcos3θdθ
∵2cosAcosB=cos(A+B)+cos(A−B)
Therefore,
y=∫(cos8x+cos2x)dθ
=∫cos8xdx+∫cos2xdx+C
=−sin2θ8+−sin2θ2+C
Hence, this is the answer.