I have a question about the definition of the Isomorphism theorem given my notes.
The Isomorphism Theorem: Let $\phi : G \rightarrow G'$ be a group homomorphism with kernel $K$. Then $\phi$ induces an isomorpism $\bar{\phi}: G/K \rightarrow \phi (G')$ given by $\bar{\phi}(Kg) = \phi(g)$ for all $Kg$ in $G/K$ ...
However shouldn't the part be "for all $g\in G$"? Is this the same thing?
Formally, the statement is more correct. If you define a function $f:A\longrightarrow B$, you must specify the action of $f$ over a generic element of $A$.
In your case, a more pompous statement (but formally more precise) should be: $\bar{\phi}:G/K\longrightarrow \phi(G)$ is defined in the following way: for every coset $\alpha \in G/K$, let be $g\in G$ a representative of $\alpha$, id est such that $\alpha=Kg$, let be $$\bar{\phi}(\alpha)=\bar{\phi}(Kg)=\phi(g)$$
The solution you provide is perfectly correct, since $G/K=\{Kg\mid g\in G\}$.