This question was asked in Ex 7.5, 10
Integration of cos x minus sin x upon 1 2x into DX 
Rinkal Rajan's image