Need help solving

No.14114268 ViewReplyOriginalReport
I posted this yesterday and someone gave me half an answer that seems to be correct but i do not understand how cos2x = u*du. Sorry if this seems incredibly retarded i just took a an intro course in analysis without any skills in calculus before.