I don't understand this step (this is from some proof of a lemma from a book):
Let $g$ and $h$ be elements of a group $G$, where all elements are self-inverse.
so $gg = e$ and $hh = e$.
We can then write: $(gh)(gh) = e$.
By what operation do we reach this last step?