I can't seem to make any progress in the following question.
Let $P$ be a Sylow $p$-subgroup of a group $G$, and suppose that $x\in P$ has order $p$ and $C_G(x)$ has cyclic Sylow $p$-subgroups. Prove that $P$ is cyclic.
I was given the following hint: ($Z(P)\subseteq C_G(x)$, and that $P$ is cyclic if and only if $x\in Z(P)$)
My current thought process:
I suppose that I am suppose to show that $x\in Z(P)$. But I dont how to even begin doing this. Perhaps $Z(P)=C_G(x)$? Also, I can't seem to see why $x\in Z(P)$ implies that $P$ is cyclic.
Any help provided will be appreciated.