I am trying to prove that the explicit midpoint method is consistent of order 2. The 2-step scheme is defined as $$ \frac{y_j - y_{j-2}}{2h} = f(t_{j-1}, y_{j-1}) $$
I have defined the local error as $$ l_j = y(t_j) - y_j = y(t_j) - y(t_{j-2}) - 2hf(t_{j-1}, y(t_{j-1})). $$
Plugging in the Taylor expansion of $y(t_j)$: $$ y(t_j) = y(t_{j-2}) + 2hy'(t_{j-2}) + O(h^2) $$
and cancelling the $y(t_{j-2})$ term gives $$ l_j = 2h(y'(t_{j-2}) - f(t_{j-1}, y(t_{j-1})) + O(h^2). $$
I don't know how to proceed from here. I imagine I somehow need to show that $y'(t_{j-2}) - f(t_{j-1}, y(t_{j-1}))$ either cancel out or are of the order of $O(h^2)$. Any help would be greatly appreciated!