Let $(X,\mu,e)$ be an $H$-space (so $\mu:X\times X\to X$ is a continuous map and $e\in X$ is a base point such that $\mu(\cdot,e)\simeq id_X\simeq\mu(e,\cdot)$) and a CW-complex such that $e$ is a $0$-cell for the CW-structure on $X$. I am trying to show that there exists a continuous map $\tilde\mu:X\times X\to X$ such that $\tilde\mu(x,e)=x=\tilde\mu(e,x)$. Supposedly it makes sense to use the homotopy extension property for this, but I fail to see how: I would think that starting at a and building up $X$ from there, you can use the HEP to build the map $\tilde\mu$. Besides the fact that I don't see why that map would satisfy the condition that $\tilde\mu$ should satisfy, and you only have one 0-cell, so how can you get the whole CW-complex starting from this?
Any help/hints are appreciated.
Edit: the answer below seems to be complete, but I can't quite digest it because I don't know what this folding map is.
Edit2: Apparently, the answer below seems to consider $X\bigvee X$ as the subspace $X\times\{e\}\sqcup\{e\}\times X$ of $X^2$, so that the folding map is just $(x,e)\mapsto x$, $(e,x) \mapsto x$. I don't see how this answer uses the fact that $e$ is a 0-cell.