
I don't follow how the step from the product of permutations to the two-line notation is done. Any help with this would be greatly appreciated!

I don't follow how the step from the product of permutations to the two-line notation is done. Any help with this would be greatly appreciated!
The product is taken right to left. If $f=(2467)$, $g=(12365)$, and $h=(1375)$, then each element gets fed into the product like so:
\begin{align} 1&\stackrel{f}{\mapsto}1\stackrel{g}{\mapsto}2\stackrel{h}{\mapsto}2 \\ 2&\stackrel{f}{\mapsto}4\stackrel{g}{\mapsto}4\stackrel{h}{\mapsto}4 \\ 3&\stackrel{f}{\mapsto}3\stackrel{g}{\mapsto}6\stackrel{h}{\mapsto}6 \\ &\vdots \end{align}
Can you continue from here?