Prove that the groups $\langle a,b \mid ababa=babab \rangle$ and $\langle x,y \mid x^2=y^5 \rangle$ are isomorphic.
I managed to solve this problem using by using Tietze transformations. However, I'm not familiar with that Tietze theory and it doesn't seem plausible to me. So I was wondering how to solve this by more standard methods? That is, the first group is the quotient of the free group on the elements $a,b$ by the normal subgroup generated by $ababab^{-1}a^{-1}b^{-1}a^{-1}b^{-1}$, and similarly for the second group. How to establish the isomorphism explicitly? (Or how to show it exists directly, without making use of Tietze transformations?)
We implicitly apply the universal property of group presentations.
$x=ababa$ and $y=ab$ satisfies $x^2=y^5$, so we get a surjection from the second group to the first group.
To have the inverse map, we need to solve for $a$ and $b$ in terms of $x$ and $y$:
This gives a surjection from the first group to the second group.
By an abstract nonsense argument, the maps are mutually inverse.