The parenthesis in the title comes from the fact that there are essentially six versions of the conclusion in what may be called 2nd Mean Value Th. for Int. - not including special variants like those using Stieltjes integrals and ignoring the different hypotheses (like continuous) on the functions involved. By a symmetric version I mean one with two integrals on the right hand side (the ends of the basic interval $[a,b]$ play then the same role), the others are asymmetric with only one integral on both sides, one can "concentrate" on one end $a$ or on the other one $b$ - this is seen as that one among $a$ and $b$ which occurs as a limit of the integral on the right hand side. Each of the two asymmetric and the symmetric versions exists in a strong and a weak version: a weak version uses as factor(s) of the integral(s) on right side a limit(s) of the monotonic function $d(a+)$ or $d(b-)$ - kind of ignoring a possible discontinuity that it might have at $a$ or $b$ - while strong versions use the values of the function $d(a)$ or $d(b)$ or any number(s) such that could be the value at $a$ or $b$ (instead of the actual ones) without contradicting the monotonicity.
So I would like to see a reference(s) to (relatively) short proof(s) of the statement:
If $f,g$ are real-valued functions defined in the compact interval $[a,b]$ ($a<b$), $g$ being $\ge 0$ and decreasing (not necess. strictly i.e. for $a \le c \le d \le b$ one has $g(c) \ge g(d)$ ) and $f$ continuous (may-be not with bounded variation), there exists a $c$ such that $a \le c \le b$ for which $$\int _a^b f(x)g(x)dx = g(a) \int_a^c f(x)dx$$ (some authors mention that $c$ can be taken in the open interval $]a,b[$ under some extra hyp. but I don't need that)
Important: g must be allowed to not be continuous
Motivation: I need this for a proof of a result in the Fourier series (nearly the unique place for using a version of the 2nd MVT for I.) which I currently study in Y.Katznelson's book - he seems to use this implicitly without even mentioning the name of the result used, but I found in old notes from a course on F. series I attended ~ 50 years ago the name of the theorem ... and then in Wikipedia what this could mean, but no proof. In all pseudo-duplicates to be found in this website, none satisfies me. Some use Stieltjes integrals like W.Rudin in his Principles of Mathematical Analysis where this subject occupies ~ 2 to 3 pages but some extra work would be needed to get the above statement and it would not cover the case where $f$ has not bounded variation. I have found a proof but it is 11 pages (which I might reduce to ~ 5 to 7 pages by eliminating parts I don't need, still a bit long) - I guess it is correct: see https://my-calculus-web.web.app/Fourier%20Series/Second%20Mean%20Value%20Theorem%20for%20Integrals.pdf
BTW a symmetric alternative (like the one I link to above) might be OK because one can usually deduce from it easily an asymmetric version.