Given each element $a\in F(X)$, we want to define a the natural transformation $\eta: Hom_\mathcal{C}(X,-) \rightarrow F$. Now for each object $Y$ in $\mathcal C$, we will define the component of the natural transformation \begin{align*} \eta_Y : Hom(X,Y) &\rightarrow F(Y)\\ f &\mapsto F(f)(a) \end{align*} First, observe the special case that $\eta_X(id_X) = F(id_X)(a) = a$. We see that this is indeed a natural transformation, for any morphism $i: M\rightarrow N$ in $\mathcal C$, we have \begin{align*} \eta_N \circ Hom_\mathcal{C} (X, f) (g) = &\eta_N ((Hom_\mathcal{C}(X,f)(g))\\ = &\eta_N (f\circ g) = F(f\circ g) (a) = F(f)\circ F(g) (a)\\ =& F(f)( F(g) (a)) = F(f)(\eta_N(g)) = F(f) \circ \eta_N(g) \end{align*}
Suppose there exists another natural transformation $\tau$ such that $\tau_X(id_X) = a$, then using the property of natural transformation, we have $$\tau_Y(f) = \tau_Y(f\circ id_X) = (\tau_Y\circ Hom_\mathcal{C}(X,f))(id_X) = (F(f) \circ \tau_X)(id_X) = F(f)(a) = \eta_Y(f).$$
I think I understood this proof. Below is the proof for contravarient functor $F$, and I am not sure what I wrote this is correct.
Given each element $a\in F(X)$, we want to define a the natural transformation $\eta: Hom_\mathcal{C}(,X) \rightarrow F$. Now for each object $Y$ in $\mathcal C$, we will define the component of the natural transformation \begin{align*} \eta_Y : Hom(Y,X) &\rightarrow F(Y)\\ f &\mapsto F(f)(a) \end{align*} First, observe the special case that $\eta_X(id_X) = F(id_X)(a) = a$. We see that this is indeed a natural transformation, for any morphism $i: M\rightarrow N$ in $\mathcal C$, we have \begin{align*} \eta_N \circ Hom_\mathcal{C} (f, X) (g) = &\eta_N ((Hom_\mathcal{C}(f,X)(g))\\ = &\eta_N (g\circ f) = F(g\circ f) (a) = F(f)\circ F(g) (a)\\ =& F(f)( F(g) (a)) = F(f)(\eta_N(g)) = F(f) \circ \eta_N(g) \end{align*}
Suppose there exists another natural transformation $\tau$ such that $\tau_X(id_X) = a$, then using the property of natural transformation, we have $$\tau_Y(f) = \tau_Y(id_X\circ f) = (\tau_Y\circ Hom_\mathcal{C}(f,X))(id_X) = (F(f) \circ \tau_X)(id_X) = F(f)(a) = \eta_Y(f).$$