On page $46$, there is
($1.87$) $E[L]=\int \int \{y(x)-t\}^2p(x,t)dxdt$
Calculus of variations is used to give
($1.88$) $\dfrac{\partial E[L]}{\partial{y(x)}} = $2$ \int \{y(x)-t\}p(x,t)dt = 0$
The reader is referred to appendix $D$ on calculus of variations, but I am still confused. How does one get from ($1.87$) to ($1.88$), step by step?