Let $(G,*)$ be a group where $a$ and $b$ are two elements in the group such that $aba=bab$. Prove that $a^5=e$ if and only if $b^5=e$.
I tried to manipulate the initial relationship by multiplying with the inverses to the left and to the right in order to isolate one term but I couldn't get anything useful. What is the correct approach?