$f,g$ are continuous function $[a,b]$.Suppose $$\int_a^b{f(t)h(t)+g(t)h'(t)}dt = 0$$ for every $h$ belonging to $C^1[a,b]$ with $h'(a)=h'(b)=0$. Why it is true that
(1)$\int_a^bf(t)dt=0$---->This is clear.
(2)$g$ belongs to $C^1[a,b]$ and $g'=f$
I have no idea how to solve the second problem.