Let $S(x)$ be the area of the yellow curvilinear triangle. I'd like to find a graph for which $S(x)=H(x)$ where $H$ is some prescribed function (small, smooth, vanishing near the endpoints to any order you wish, etc.). Is it always possible or there are some non-obvious hidden restrictions?
The question comes from the infamous t-section problem (if you know the areas of all sections of a symmetric convex body by the hyperplanes at some fixed small distance $t$ from the origin (so small that all sections are non-empty), can you recover the body?). The problem is open even on the plane. I do not say that this toy question is directly relevant here but an answer to it will certainly make a few things clearer for me.