This question was asked in Ex 6.5, 20
Diff. W.r.t x of y = x^sinx (sin x ) ^ cos x 
Neha Mor's image