Find $f^{-1}gf$, where $f=(123)$, $g=(2345)$.
Since $f$ and $g$ are cyclic permutations, we have $gf=fg$. Hence $f^{-1}gf=f^{-1}fg= (f^{-1}f)g=ig=g=(2345)$, where $i$ is identity permutation. Since i am new to this particular topic, i am not sure whether i am doing correctly?
It's not true that cycles commute always, disjoint cycles do.
So you just have to do the computation the standard way, tracing images:
$$(123)^{-1} (2345) (123)= (321)(2345)(123) = (1245)$$