We were given a hint to set $p$ equal to the factorization of $p$ into two elements then to take the norm of both sides. Here is what I've done so far:
Since $p$ is not prime in $Z[i]$, we can rewrite $p = (a + bi)(c + di)$ for some $a, b, c, d \in Z$. So we can take the norm of both sides to get
$\sqrt{p\overline{p}} = \sqrt{(a + bi)(c + di)\overline{(a + bi)(c + di)}} = \sqrt{(ac + adi + bci - bd)\overline{(ac + adi + bci - bd)}} = \sqrt{((ac - bd) + (ad + bc)i)\overline{((ac - bd) + (ad + bc)i)}} = \sqrt{((ac - bd) + (ad + bc)i)((ac - bd) - (ad + bc)i)} = \sqrt{(ac-bd)^2 + (ad + bc)^2}$.
This is where I'm stuck. I've tried reversing the norm at this last step but it basically just puts me back right at the beginning. I've recognized that $\sqrt{p\overline{p}} = p$ but I'm not sure if I can do anything with this.