G is a group of order m and m> 2, with m prime number
let and x differ from the identity
from lagrange theorem, the order of x divide the order of G
so x order is m^2 or m
if it is m^2 then G is generated from x which means G is cyclic
then other case x order is m.