It's been a while since I did things with groups. I have a certain group which has the following property:
$$g_1 * g_2 * g_1 =g_2$$
for every $g_1,g_2$ in the group
I am trying to prove its abelian. But I got a bit tangled here.
Let's say I multiply both sides from right by $g_2 ^{-1}$
Then I get:
$$g_1 * g_2 * g_1 * g_2^{-1}=1$$
So I know that
$$(g_1*g_2)^{-1} = g_1*g_2^{-1}$$
But I am not sure where this leads me.
Another option I tried is to look at $g_2^{2}$, but it did not lead me anywhere.
I feel I am going in circles and that it is not something complicated, only that I miss some thing.