This question already has an answer here:
Let $G$ a finite group with order of $2p$, where $p > 2$ is prime. given that there's $a \in Z(G)$ such that $o(a) = 2$. Prove: $G$ is abelian.
Can you give me some hints and help to solve it? Thanks in advance.