Proof (local parameter of plane curve)
The tangent plane is $$ \begin{align*} T_{C,P} = \left\{\pdfd{f}{x}(P) x + \pdfd{f}{y}(P) y = 0\right\}. \end{align*} $$ Because $\pdfd{f}{y}(P) \neq 0$, the image of $x - x(P)$ via $\mathfrak{m}_P/\mathfrak{m}_P^2 \xrightarrow{\sim} (T_{C,P})^\ast$ is non-zero, so $x - x(P)$ is non-zero in the one-dimensional $k$-vector space $\mathfrak{m}_P/\mathfrak{m}_P^2$, so generates $\mathfrak{m}_P/\mathfrak{m}_P^2$ in $O_{C,P}/\mathfrak{m}_P^2$. By the theorem, $x - x(P)$ is a local parameter.