Equivalence problems for first order Lagrangians on the line