See Euler method
yi+1=yi+2h[f(xi,yi)+f(xi+1,yi+1)]=yi+2h[f(xi,yi)+f(xi+1,yi+hf(xi,yi))]
where we use the Euler method for yi+1 on the RHS. This is an example of a prediction-correction method.
Truncation error of order h3