Let $f : [0, a] → \mathbb{R}$ be a continuous function, where $a ∈ \mathbb{R^+}$ and $\int_0^a f(x)dx=0$. Prove that $∃ c ∈ (0, a) $ such that $\int_0^c xf(x) dx = 0.$
I feel I've to use the Fundamental Theorem of Calculus and then Lagrange's mean value theorem but I can't work out the details. From the condition we get, $F(a)=F(0)$ where $F'(x)=f(x)$. Then I tried considering the function $g(x)=xF(x)$ but I can't proceed.
Can a solution without using double integrals or flett's theorem be found? Using high school math.