imporant question about geodesic plane I have question

Q
  Show that geodesics in the plane are straight lines. Use $X(u,v)=(u\cos(v),u\sin(v))$
  as the parametrization of the plane.

I hope someone can answer.
Thanks
please at least give to me hint to solve this question thanks
Proposition 9.1.4
Any (part of a) straight line on a surface is a geodesic.
By this, we mean that every straight line can be parametrized so that it is
a geodesic. A similar remark applies to other geodesics we consider and whose
parametrization is not specified (see Exercise 9.1.2).
Proof
This is obvious, for any straight line has a (constant speed) parametrization of
the form
γ(t) = a + bt,
where a and b are constant vectors, and clearly ¨γ = 0.
Example 9.1.5
All straight lines in the plane are geodesics, as are the rulings of any ruled
surface, such as those of a (generalized) cylinder or a (generalized) cone, or the
straight lines on a hyperboloid of one sheet.

The length of the arc can be defined as
$$ds=\sqrt{dx^2+dy^2}$$
Consider the family of curves lying wholly on a given surface and passing through two given points both on the same plane. Among these curves there will be one for which the length of arc is a minimum. Such curves are known geodesics. Because of that we are required to minimize
$$L=\int ds=\int \sqrt{dx^2+dy^2}$$
where because of parameterization
$$x=u\cos(v)\rightarrow dx=du\cos (v)-u\sin(v)dv$$
$$y=u\sin(v)\rightarrow dy=du\sin (v)+u\cos(v)dv$$
By rewriting the integral
$$L=\int \sqrt{dx^2+dy^2}=\int \sqrt{du^2+u^2dv^2}=\int dv\sqrt{\bigg(\frac{du}{dv}\bigg)^2+u^2}$$
The Euler Lagrange equation (for sake of simplicity $u'=\frac{du}{dv}$)
$$\frac{\partial L}{\partial u}-\frac{d}{dv}\bigg(\frac{\partial L}{\partial u'}\bigg)=0$$
$$\frac{u}{\sqrt{u^2+u'^2}}-\frac{d}{dv}\bigg(\frac{u'}{\sqrt{u^2+u'^2}}\bigg)=0$$
$$\frac{u}{\sqrt{u^2+u'^2}}-u\frac{u\,u''-u'^2}{(u^2+u'^2)^{3/2}}=0$$
$$u\frac{u^2+u'^2-u\,u''}{(u^2+u'^2)^{3/2}}=0$$
One solution is $u=0$ and the other one
$$u^2+u'^2-u\,u''=0\Rightarrow u=A\sec(v+B)$$
where $A$ and $B$ are cosntants. In cartesian coordinates parametric equations for the geodesics are
$$x=u\cos(v)=A\sec(v+B)\cos(v)=A\frac{\cos(v)}{\cos(v+B)}$$
$$y=u\sin(v)=A\sec(v+B)\sin(v)=A\frac{\sin(v)}{\cos(v+B)}$$
To eliminate $v$ we can use trigonometric identities and change of variable such that $w=v+B$ without loss of generality
$$x=A\frac{\cos(w-B)}{\cos(w)}=A\cos(B)-A\sin(B)\frac{\sin(w)}{\cos(w)}\rightarrow \frac{\sin(w)}{\cos(w)}=\cot(B)-\frac{x}{A\sin(B)}$$
and
$$y=A\frac{\sin(w-B)}{\cos(w)}=A\cos(B)\frac{\sin(w)}{\cos(w)}-A\sin(B)$$
by replacing $\frac{\sin(w)}{\cos(w)}$
$$y=A\cos(B)\bigg(\cot(B)-\frac{x}{A\sin(B)}\bigg)-A\sin(B)$$
$$y=-\cot(B)\,x+A\big(\cos(B)\cot(B)-\sin(B)\big)$$
which is a straight line.
