I think this is a very basic question. I'm just not sure how to use $\frac{\mathrm{d}}{\mathrm{d}x}\left(\frac{\partial F}{\partial y'}\right)=\frac{\partial F}{\partial y}$ to find the general solution to: $$\int \left(y^2 − y'^{\\2}- 2y \cos( 2x)\right) \:\mathrm{d}x$$
Thanks