Presymplectic lagrangian systems. II : the second-order equation problem