Integrate:cosmxcosnx.dx if m=n

i can not solve it i have tried my best but to no avail

cos^2 mx dx ?

= mx/2 + sin(2mx) / 2m