I am working on the following exercise:
Let $h: [a,b] \rightarrow \mathbb{R}$ be a monotonic function and let $f: [a,b] \rightarrow \mathbb{R}$ a continuous function. Then exists a $\xi \in (a,b)$ sucht that
$$\int_a^b h(x)f(x) dx = h(a^+)\int_a^\xi f(x) dx + h(b^-) \int_\xi^b f(x) dx.$$
As I understand it this is a generalisation of the "Second Mean Value Theorem for definite integrals". The requirements that $h$ is positive and decreasing are dropped and since $f$ is continuous it is Riemann-integrable.
I do not know how to prove that. Could you help me?