Let $G$ be a group of order $p^2q$ where $p$ and $q$ are distinct primes. Show that $G$ is abelian if there are elements $g,g'\in Z(G)$ such that $|g|=p$ and $|g'|=q$.
First of all, I want to prove the statement without using Sylow Theorems. Here is the link of the proof of statement for general case. However, I'm not sure how to start but at least I can say that order of element $gg'$ is $pq$ as $g,g'\in Z(G)$.