my text book burden
$ y'(t)=f(t,y), a \leq t \leq b ,y(a)= \alpha$
apply for the extrapolation technique
we let $ h_0 = \frac{h}{2}$ and use Euler method with $w_0=\alpha$
$ w_1 = w_0+h_0f(a,w_0)$
and then midpoint method
$ t_{i-1}=a ,t_i=a+h_0=a+\frac{h}{2}$ to produce
approximation to $ y(a+2h_0)$
$ w_2=w_0+2h_0f(a+h_0,w_1)$
$y_{1,1} = \frac{1}{2}[w_2+w_1+h_0f(a+2h_0,w_2)] $
then why this form results $ O(h_0^2)$ approximation to $y(t_1)$
The solution to the initial value problem has the series
$$ y(a+h) = \alpha + f(a,\alpha) h + \frac{f_t(a,\alpha) + f(a,\alpha) f_y(a,\alpha)}{2} h^2 + O(h^3)$$
where $f_t = \partial f/\partial t$ and $f_y = \partial f/\partial y$. On the other hand, compute the series for $y_{11}$ and you should also find
$$y_{1,1} = \alpha + f(a,\alpha) h + \frac{f_t(a,\alpha) + f(a,\alpha) f_y(a,\alpha)}{2} h^2 + O(h^3)$$