Calculus of Variations and Partial Differential Equations of First Order