My thoughts:
1.First show that $Z_{p^2}\ncong Z_p\times Z_p$.
2.Recall that group of order $p^2$ is isomorphic to either $Z_{p^2}$ or $Z_p\times Z_p$, so show that $Z_p\rtimes Z_p\cong Z_p\times Z_p$.
But I am stuck on the second step, how should I continue? And is there a better way to solve this?