Syntax !!!
Needs["VariationalMethods`"];
sol = EulerEquations[12*x*y[x] + y'[x]^2, y[x], x]
(* 12 x - 2 (y^??)[x] == 0 *)
First@DSolve[sol, y[x], x]
(* {y[x] -> x^3 + C[1] + x C[2]} *)
First@DSolve[{sol, y[1] == 0, y[3] == 26}, y[x], x]
(* {y[x] -> -1 + x^3} *)