I want to do the following question (6.6k) in Vakli's Foundations of algebraic geometry
Suppose we have a contravariant functor $F$ from $Sch$ to $Groups$. Suppose further that $F$ composed with the forgetful functor is represented by the object Y. Show that the group operations on $F(X)$ uniquely determine $m:Y×Y \rightarrow Y$, $i:Y \rightarrow Y$, $e:Spec\mathbb{Z} \rightarrow Y$. And the group operation on $Mor(X,Y)$ is the same as on $F(X)$
Suppose $F$ composites with the forgetful functor is equal to $h_Y$ I know that $m:Y×Y \rightarrow Y$ must be the product of the projection morphism $π:Y×Y \rightarrow Y$ with itself and $e$ must be identity element of the group $Mor(spec\mathbb{Z} ,Y)$ For the morphism $i$, it composites with $f \in Mor(Y,Y) $ to give $f^{-1}$. But I have no idea why this morphism is unique. Also I don't know why $F(X)$ should have group structure induced by $Y$. I'm sorry if this is a stupid question. Any help or hints are appreciated.