(Baer). Call a group E injective $^{3}$ in Groups if it solves the obvious universal mapping problem: for every group $G$ and every (not necessarily abelian) subgroup $S \subseteq G$, every homomorphism $f^{\prime}: S \rightarrow E$ can be extended to $G$ :
Prove that $E$ is injective if and only if $E=\{1\}$.
Hint. Let $A$ be free with basis $\{x, y\}$, and let $B$ be the semidirect product $B=A \rtimes\langle z\rangle$, where $z$ is an element of order 2 that acts on A by $z x z=y$ and $z y z=x$.