This is an exercise in Gallian "Contemporary Abstract Algebra". Here $|a|$ and $|b|$ means the order of $a$ and the order of $b$. I know the order of a group element is the smallest positive integer n such that $a^n=e$ where $e$ is the identity element of the group. 

I know that since $a$ and $b$ commute then $(ab)^n = a^nb^n$. I sketched a regular hexagon and labeled the vertices $0,1,2,\cdots,5$. I do not see any relationship between the orders of the elements and the order of their products in $C\_6$. I stared at a list of the elements (and their orders) of the modulo $31$ multiplicative group. I don't see anything that helps me answer this question. Also, I should mention this exercise is in chapter $4$, Cyclic Groups, of the text and nothing very "deep" has been discussed in the previous chapters.