Firstly I think (please confirm) the notation $g(x)$ (for $x \in \{1,2,3,4\}$) caters to the position $y \in \{1,2,3,4\}$ such that $x \to y$.
- Is it true that $g((12)) = (g(1) g(2))$? I can not wrap around my head if this is even defined. If so, an explanation would be really helpful.
- How is $g(12)(34)g^{-1} = (g(1) g(2))(g(3)g(4))$ where $g \in S_4$?
I am fine if hints or heuristics are provided so I can think how it works. A definition for $(1)$ would enable me to think $(2)$.
The definitions you may be missing: On the set $A=\{1,2,3,4\}$:
Does this help? Please try to take it from there, and the rest of the solution is hidden in the spoiler below.