Hi,for this question I can visualize what it is asking but I'm having troubles writing a formal proof for it.

I was thinking of applying the intermediate value theorem to g(x) = f(x) - x, but I just keep getting stuck.Suppose that is continuous on the closed interval [0,1] and that for every in [0,1]. Show that there exists a real number such that

Any help will be highly appreciated