(a)Let (G,*) be a group such that x*x=eG for all x in G. Prove G is commutative

(b)Give a specific example of an infinite group (G,*) such that x*x= eG for all x in G

for a, i'm thinking that I should add in another variable? really just not sure how to begin