I don't know how to show a kernel of only the neutral element means $f$ is injective.
My ideas.
Using cosets show how each $Ka$ maps to a unique $f(x)$ value. Since cosets have one to one connections. And each $Ka$ has only one element.
Show $f$ is proving $H$ and $G$ are isomorphic, so $f$ is injective and surjective.
I don't know how to write those ideas if they are even correct.
Consider $g,h \in G$ such that $f(g) = f(h)$. We would like to show that $g = h$.
$$ \begin{align*} f(g) = f(h) &\implies f(g)f(h)^{-1} = e \\ &\implies f(gh^{-1}) = e \\ &\implies gh^{-1} \in \ker f = \{e\}\\ &\implies gh^{-1} = e \\ &\implies g = h \end{align*} $$ Note that the second line comes from the properties of a group homomorphism, namely that $f(g)f(h)=f(gh)$ and $f(g^{-1})=f(g)^{-1}$.