Let $G$ be a group of order $pqr$, where $p,q,r$ are different primes. Let $P,Q,R$ be sylow-$p,q,r$ subgroups respectively. Show that if $P\subseteq C(G)$ and $R\subseteq N(Q)$, then $G\cong P\times QR$
The aproach I tried to take is to prove that $G=PQR$ and then that $P, QR$ satisfy $P\vartriangleleft G, QR\vartriangleleft G$ and $P\cap QR=\{e\}$. However I couldn't find how to prove that $G=PQR$ and $QR\vartriangleleft G$.