Let $f:[0,1]\rightarrow\mathbb{R}$ be a differentiable function with continuous derivative such that $$ \int_{0}^{1}{f(x)dx}=\int_{0}^{1}{xf(x)dx} $$ How can we prove that there exists $\xi\in(0,1)$ such that $$ f(\xi)=f'(\xi)\int_{0}^{\xi}{f(x)dx} $$
I tried to use $$ F(x)=\int_{0}^{x}{f(t)dt} $$ then the condition gives $$ \int_{0}^{1}{F(x)dx}=0 $$ and I have to show there exists $\xi\in(0,1)$ such that $$ F'(\xi)=F''(\xi)F(\xi) $$ I was stuck here.