differentiate (x^3 + 5)(2 - cosx)