If an antiderivative of f(x) is ex and that of g(x) is cos x, then ∫f(x) cos x dx + ∫g(x) ex dx is equal to