Dummit and Foote Section 1.3 Symmetric Groups Exercise 15 is as follows:

Let p be a prime. Show that an element has order p in if and only if its cycle decomposition is a product of commuting p-cycles. Show by explicit example that this need not be the case if p is not prime.

Would appreciate help with this problem

Peter