I'll try to present a solution for this problem, and I hope I can receive feedback on what went wrong, if something went wrong of course.
Let $f, g : [a, b] \to \Bbb R$ be continuous functions and $\int_{a}^{b} f(x) dx = \int_{a}^{b} g(x) dx$. Show that there exists $c \in [a, b]$ such that $f(c) = g(c)$.
Solution
Let's define $h(x) = \int_{a}^{x}f(x)dx-\int_{a}^{x}g(x)dx$
$h(x)$ is continous, since $f(x)$ and $g(x)$ is continous. I hope this argument is correct.
We see $h(a) = h(b) = 0$.
Applying Rolle's Theorem, we get that $\exists \xi \in (a,b) : h'(\xi) = 0$
In other terms,
$f(\xi) = g(\xi)$
$\square$
Thanks!