The definitions you may be missing: On the set $A=\{1,2,3,4\}$:
- $g$ is any permutation (i.e. any bijection $A\to A$). $g^{-1}$ is its inverse.
- $(1 2)$ is the permutation that swaps $1$ with $2$ (i.e. maps $1$ to $2$, $2$ to $1$, $3$ to itself and $4$ to itself). Similarly, $(3 4)$ is the permutation that swaps $3$ with $4$. Similarly again, $(g(1) g(2))$ is a permutation that swaps $g(1)$ with $g(2)$ - whatever those two elements of $A$ are. I am leaving to you to guess what is $(g(3) g(4))$.
- Multiplying permutations means composing them into new permutations by applying the composed permutations one after another, right-to-left. This means: if $g, h$ are permutations, then $gh$ is a permutation such that $gh(x)=g(h(x))$.
Does this help? Please try to take it from there, and the rest of the solution is hidden in the spoiler below.
Let's see how $g(1 2)(3 4)g^{-1}$ works. What does it map the element $g(1)\in A$ into? Remember we apply the maps right-to-left, so, first, $g^{-1}$ acts on $g(1)$, mapping it into $1$. Then, $(3 4)$ maps $1$ into itself. Then, $(1 2)$ maps $1$ into $2$. Finally, $g$ maps $2$ into $g(2)$. Can you finish this now by proving that $g(2)$ also maps to $g(1)$, that $g(3)$ maps to $g(4)$ and $g(4)$ maps to $g(3)$? In other words, the whole permutation swaps $g(1)$ with $g(2)$ and $g(3)$ with $g(4)$, which is the same thing that $(g(1) g(2))(g(3) g(4))$ does.