Let $G$ be a group and if $a,b \in G$ such that $a^4 =e$ and $a^2 b=ba$ then prove that $a=e$.
My attempt: I know from the generators and relation of the dihedral group of order $2n$ is $\langle r^n=s^2=1,rs=sr^{-1} \rangle$ so in the given problem if I take $r=a^2$ and $s=b$ then the problem is clear that $a^4=a$ but in the given problem it is not given that $b^2=e$ so how can I prove that $a=e$ in the given problem.