I am working through 'Notes on logic and set theory' by P.T. Johnstone. Below, $\Omega$ is a set of operation symbols with $\alpha \colon \Omega \to \mathbb{N}$ assigning to each symbol its arity. Also, $E$ denotes a set of equations of $\Omega$-terms so that $(\Omega, E)$ is an algebraic theory.
Exercise 1.8 reads
(i) Let $\Omega = \{e,m\}$ with $\alpha(e) = 0, \alpha(m) = 2$, and let $E$ consist of the two equations $(mex = x)$ and $(mxe=x)$. Suppose a set $A$ has two $(\Omega,E)$-model structures $(e_1, m_1)$ and $(e_2,m_2)$ such that the operations of the second structure are $\Omega$-homomorphisms $1\to A$ and $A\times A \to A$ for the first structure. Show that $A$ satisfies the equations $(e_1 = e_2)$ and $(m_1m_2xzm_2yt = m_2m_1xym_1zt)$, and deduce that $m_1 = m_2$ and that $m_1$ is commutative and associative.
(ii) Ask an algebraic topologist to explain what this has to do with the result that the fundamental group of a topological group is abelian.
I solved (i) but I have no easy access to an algebraic topologist to solve (ii) (I am on holiday). Can someone explain this to me? I know the definition of fundamental groups and of topological groups but little more.