I was given the example as an illustration of structure of permutations in my lecture notes on algebra as shown below:
$\bigl(\begin{smallmatrix} 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9\\ 2 & 1 & 3 & 4 & 9 & 6 & 5 & 8 & 7 \end{smallmatrix}\bigr)$ $= (12)(597) = (12)(57)(59) = (12)(36)(68)(36)(38)(57)(59)$
I get the first relationship was obtained by cycle decomposition, but how were 2nd and 3rd relationships obtained? If I may use some hints