solve {y'(x) = -2 y+x, y(1) = 2} with midpoint method