I tried to do this example on my own. My solution was as follows:
First of all we have $6$ disjoint cycles so we can order them in $6!$ ways without changing $x$
Next the cycle $(1\space 2\space 3)$ can be there can be $3$ representatives ie $(1\space 2\space 3),(2\space 3\space 1),(3\space 1\space 2)$ such that it will be the same cycle. If we apply this further we get for $(7\space 8\space 9\space 10)$ , $4$ representatives and for $(4\space 5\space 6)$ $3$.
The total amount would be then : $6! \times 3 \times 3 \times 4$
My answer is off by a lot. I also noticed that the writer only considers swapping the cycles with cycle type $3$ and the cycle type $1$, but why can we not swap all the $6$ cycles. Why do we not use the fact that these $6$ cycles are disjoint which means they are stable if we permute them?
