if i try approaching the same way, we got:
$L(x+a, y+a, x', y', t) - L(x, y, x', y', t) = \frac{d}{dt} f(x, t)$
$a\frac{\partial L}{\partial x} + a\frac{\partial L}{\partial y} = \dot x \frac{\partial f}{\partial x} + \frac{\partial f}{\partial t}$
because of $\dot x$ on right side, left side doesn't contain the same proportion, i.e $\frac{\partial f}{\partial x}$ must be 0.
$a(\frac{\partial L}{\partial x} + \frac{\partial L}{\partial y}) = \frac{\partial f}{\partial t}$
to make this work for any $a$, $\frac{\partial L}{\partial x} + \frac{\partial L}{\partial y}$ must be 0, but that doe…