Need not solve y = f(x) at all. This is because we are taking taking partial derivatives anyway. Euler-Lagrange equation is independent of the choice of coordinate system. If you begin in polar coordinates the result will be in polar coordinates. If begun in Cartesian coordinates the result will be in Cartesian coordinates. The result and its graphs will be identically same, whatever choice.
You get answers to your question yourself once it is applied and seen while working through.
What he means is, for the polar case $ r, r^{'} $ are involved, $ \theta $ is implicitly involved, and for Cartesian case in $ x + y\, y^{'}, x $ is there explicitly.Or,
$$ f(r^2)\sqrt{r(\theta)^2+r'(\theta)^2}\;.$$
does not contain $\theta$ explicitly.
A nice simplification of E-L (due to Beltrami) results if independent variable is not explicitly involved.
Consider the simplest case of minimum distance between two points ( BTW, it is to find maximum / minimum, not optimum as there is no second constraint function).
In polar and Cartesian systems respectively ,
$$
L(r, r', \theta) = \sqrt{r^2 + (r')^2} d\theta ; L(x,y, y') = \sqrt{1 + y'^2} dx
$$
one obtains after applying E-L equations
$$ 1/\sqrt{(1+y^{'2})} = const. ; \sqrt{r^2 + (r')^2} - r^{'2}/\sqrt{r^2 + (r')^2} = const. $$
which integrate to $$ y= m x +c ; r sec( \theta + \alpha) = p $$
where $ m,c; \alpha, p $ are arbitrary constants. The solution is the same, that of a straight line.
Due to appearance of $ x^2 + y^2 $ it is simpler calculation using polar coordinates.