The derivative of xCos(5x)

Use the rule that d/dx [u(x)*v(x)]

= u dv/dx + v du/dx

Let u(x) = x and v(x) = cos(5x)

For the derivative of cos(5x), use the chain rule.