Find the Euler- Lagrange equation for $$L = \left(\frac{dy}{dt}-y\frac{dx}{dt}\right)^2+\left(\frac{dx}{dt}\right)^2.$$
I tried following manner.
$$\frac{d}{dt}\begin{bmatrix}\frac{dL}{dy/dt} & \frac{dL}{dx/dt}\end{bmatrix} =\begin{bmatrix} \frac{dL}{dx} & \frac{dL}{dy}\end{bmatrix}.$$
Is this the way to solve this?
Supposing an unactuated system, we have
$$ L(x(t),y(t),x'(t),y'(t),t) = \left(y'(t)-y(t) x'(t)\right)^2-x'(t)^2 $$
then
$$ L_X -\frac{d}{dt}L_{X'} = 0 = \cases{-\frac{d}{dt}L_{x'}\\ L_{y}-\frac{d}{dt}L_{y'}} \Rightarrow \left\{ \begin{array}{l} y(t) \left(y'(t)-y(t) x'(t)\right)+x'(t)= C_0 \\ 2 y(t)\left(x'(t)^2+x''(t)\right)-2 y''(t)=0 \end{array} \right. $$
NOTE
To solve the DEs, deriving the first, we can form
$$ \cases{ x''(t)= 2 y(t) x'(t) y'(t)-y(t)^2 x'(t)^2-y'(t)^2\\ y''(t)= 2 y(t)^2 x'(t) y'(t)-y(t)^3 x'(t)^2+y(t) x'(t)^2-y(t) y'(t)^2 } $$