If f is continuous real valued function on $[0,1]$ show that there exist a point $c\in (0,1)$ such that $\int_0^1xf(x)dx = \int_c^1 f(x)dx $
I tried to apply mean value theorem for integrals on both sides separately to see if come equal but that didn't work.