I found a form of the lagrange theorem that I don't know,
I didn't find something similar on the internet.
Suppose that $f:[a,b]\times[c,d] \subset \mathbb{R}^2 \longrightarrow \mathbb{R}$ is a continuous function. Consider the function
\begin{align} I:[c,d] &\longrightarrow \, \mathbb{R}\\ y\,\,\, &\longmapsto\, I(y) = \int_{a}^{b} f(x,y)\, dx\\ \end{align}
Then they say:
Take a y $\in $ [c,d]. From the Lagrange theorem it follows that $\exists \,\theta \in (0,1) $ so that: \begin{align} \frac{I(y+k)-I(y)}{k} &= \int_a^b \frac{f(x,y+k)-f(x,y)}{k} \, dx \\ &= \int_a^b \frac{\partial f}{\partial y}(x,y+\theta k) \, dx \end{align}
The only form of the lagrange theorem that I know is this one: $$ f'(c) = \frac{f(b)-f(a)}{b-a}. $$
Does someone know how they get an angle theta?