This question was asked in Ex 5.5, 10

Differentiate x cos x

Brindha's image