Mathematics Homework Help

NIT Algebraic Structures Modern Algebra & Abstract Algebra Question

 

I’m working on a Algebra question and need guidance to help me study.

In a group G, (ab)m = ambm for three successive integers m for all values of a, b belonging to G. Show that G is abelian group?