assuming that $y$ is a function of $x$, would this work:
$$\frac{\partial F}{\partial \dot{y}}\dot{x} = \frac{\partial F}{\partial\left(\dot{y}/\dot{x}\right)} = \frac{\partial F}{\partial y’}, y’ = \frac{\dot{y}}{\dot{x}} = \frac{dy}{dx}$$
Here, $y$ and $x$ are parametrized by $t$, I.e., $\dot{y} = dy/dt$, and $F$ is a function of $x$, $\dot{x}$, $y$, and $\dot{y}$.
I saw this from A First Course in The Calculus of Variations by Mark Kot.