if $G$ only has one subgroup of order $p$ and one subgroup of order $q$, then $G$ is a cyclic group I'm having some trouble proving the following:

Let $G$ be a group with $|G|=pq$ where $p$ and $q$ are two distinct prime numbers. Show that if $G$ only has one subgroup of order $p$ and one subgroup of order $q$, then $G$ is a cyclic group.
To prove so use the following:

If $G$ is a group and if $H_1,H_2 \unlhd G$ such that $H_1 \cap H_2=\{1\}$ and $H_1H_2=G$, then:$$G\simeq H_1 \times H_2$$


If $P\leq G$ and $Q\leq G$ are groups such that $|P|=p$ and $|Q|=q$ then $$G\simeq P\times Q$$
proves that $G$ is cyclic. To prove this we just need to show that:

*

*$P,Q \unlhd G$

*$P \cap Q = \{1\}$

*$PQ=G$
But I'm not being able to prove any of these. How can this be done?

This can be proved without Sylow's theorem.
Let $H$ be subgroup of order $p$ and $K$ be subgroup of order $q$, with $p,q$ distinct primes.
Clearly $H\nsubseteq K$ and $K\nsubseteq H$. Hence $H\cup K$ is proper subset of $G$.
Take $x\in G\setminus (H\cup K)$. What can be order of $x$? It is a divisor of $pq$, and it is not $1$.
If $o(x)=p$, then $x$ should lie in $H$ (unique subgroup of order $p$), contradiction. Similarly $o(x)\neq q$.
Hence $o(x)=pq$, i.e. $G$ is cyclic.
