$G$ is a nonabelian group of order $p^{3}$,and $G=(Z_{p}\times Z_{p})\rtimes_{\theta} Z_{p}$, prove that: $$G\cong \begin{bmatrix}1&a&b\\0&1&0\\0&0&1\end{bmatrix}\rtimes\begin{bmatrix}1&0&0\\0&1&c\\0&0&1\end{bmatrix}$$ which can be written as internal semidirect product $G\cong (Z_{p}\times Z_{p})\rtimes Z_{p}$.
Attempt:
Firstly,for each element in $Z_{p}$, we can associate it with an element in $Aut(Z_{p}\times Z_{p})\cong GL(2,Z_{p})$. That is what $\theta$ all about. In our internal case the corresponding automorphism is just group of conjugate. In order to determine that two semidirect product have essentially the same structure,we have to dig into the automorphisms given above. But I don't know how to go further?