Prove that if $xy=x^{-1}y^{-1}$ for all $x,y\in G$, then $G$ is abelian.
Proof: $G$ is abelian iff $xy=yx$ for all $x,y\in G$.
$xy = x^{-1}y^{-1}=(xy)^{-1}$ (by power laws) $= y^{-1}x^{-1}$ (by inverse laws) $=yx$
Therefore, $G$ is abelian. $\square$
Since that formula holds for all x,y then in holds also for $y=e$ so we have $x^2=e$ (so $x^{-1}=x$) for each x. Take now any a, b in group. Then we have $abab=(ab)^2 =e$ so $ab =b^{-1}a^{-1} =ba$ and we are done.