Hello, coolio!
The first one is quite straight forward . . .
We have: .
The integral becomes: .
Let:
Substitute: .
. . . Got it?
Thanks Soroban, that makes a lot more sense. The case where sin and cos both have even powers seems to be giving me the most trouble still. I know it has something to do with the half angle formulas.