This is problem 2.12.15 in Herstein's Topics in Algebra, second edition. The full problem is
Let $G$ be a finite group in which $(ab)^p=a^pb^p$ for every $a,b \in G$, where $p$ is a prime dividing $o(G)$. Prove
(a) The $p$-Sylow subgroup of $G$ is normal in $G$.
$^*$(b) If $P$ is the $p$-Sylow subgroup of $G$, then there exists a normal subgroup $N$ of $G$ with $P \cap N = (e)$ and $PN=G$.
(c) $G$ has a nontrivial center.
I have done part (a) but am stuck at part (b). I have tried different approaches, but they all seem ineffective. I should also say that, at this point in the book, Herstein hasn't even formally introduced direct products, only the Sylow theorems. How am I supposed to solve this?
The next problem, problem 16, basically asks to prove a result called Burnside's p-complement theorem or possibly another called the Schur-Zassenhaus theorem (according to other threads on this website), but that's a double-starred problem, so I was thinking that there must be a simpler solution to this one-star problem.
The map $\phi:a\mapsto a^p$ is a homomorphism from $G$ to $G$. If $|P|=p^r$, then $\phi^s$ has kernel $P$ wherever $s\ge r$. Let $|G|=p^rm$. Choose $s\ge r$ with $p^s\equiv 1\pmod m$. Let $N$ be the image of $\phi^s$. It has order $m$, by the first isomorphism theorem. Its elements all satisfy $a^m=e$. But if $a^m=e$ then $\phi^s(a)=a$, so $N=\{a\in G:a^m=e\}$, and so is a characteristic subgroup of $G$. But obviously, $P\cap N$ is trivial, and so $PN$ must have order $p^rm=|G|$.