I have a permutation$f \in S_7$ with $|f| = 6$ and $h \in S_7$ with $|h| = 6$. I need to find a permutation, $j \in S_7$, such that $h=jfj^{-1}$.
$$ h = \begin{pmatrix} 1 & 2 & 3 & 4 & 5 & 6 & 7\\ 6 & 4 & 5 & 7 & 3 & 1 & 2 \end{pmatrix}\\ $$ $$ f = \begin{pmatrix} 1 & 2 & 3 & 4 & 5 & 6 & 7\\ 4 & 6 & 2 & 1 & 7 & 3 & 5 \end{pmatrix} $$ I tried writing both permutations as a product of transpositions and solving to find j but I'm not sure what to do.