DLR interview question

Guide me through the Euler-Lagrange equations