Given the equation $z^5 = 1$ where $z \in \mathbb{C}$, subtract $1$ from both sides.
$0 = z^5 - 1 = (z - 1)(z^4 + z^3 + z^2 + z + 1)$
Now, for solving $z^4 + z^3 + z^2 + z + 1 = 0$, one can express it in the form $\text{square} = \text{square}$ by completing the square twice as follows:
$z^4 + z^3 + z^2 + z + 1 = 0$
First, add $z^2$ to both sides:
$\iff z^4 + z^3 + 2z^2 + z + 1 = z^2$
Next, group and factor out $z$ from $z^3 + z$.
$\iff (z^4 + 2z^2 + 1) + z(z^2 + 1) = z^2$
Note that $z^4 + 2z^2 + 1$ is a perfect square; it's equivalent to $(z^2 + 1)^2$.
$\iff (z^2 + 1)^2 + z(z^2 + 1) = z^2$
Complete the square by adding the square of half the coefficient of $z^2 + 1$ to both sides.
$\iff (z^2 + 1)^2 + z(z^2 + 1) + \frac{z^2}{4} = z^2 + \frac{z^2}{4}$
$\iff \left(z^2 + \frac{1}{2}z + 1\right)^2 = \frac{5}{4}z^2$
Take the square root of both sides.
$\iff z^2 + \frac{1}{2}z + 1 = \frac{\pm_1\sqrt{5}}{2}z$
Subtract $\frac{\pm_1\sqrt{5}}{2}z$ from both sides of this new equation.
$\iff z^2 + \frac{1\mp_1\sqrt{5}}{2}z + 1 = 0$
But now, I can just follow the normal completing the square algorithm for solving quadratic equations, in order to determine the value of $z$. We have:
$z^2 + \frac{1\mp_1\sqrt{5}}{2}z = -1$
$\iff z^2 + \frac{1\mp_1\sqrt{5}}{2}z + \frac{6\mp_12\sqrt{5}}{16} = \frac{6\mp_12\sqrt{5}}{16} - 1$
$\iff \left(z + \frac{1\mp_1\sqrt{5}}{4}\right)^2 = -\frac{10\pm_12\sqrt{5}}{16}$
$\iff z + \frac{1\mp_1\sqrt{5}}{4} = \frac{\pm_2\sqrt{10\pm_12\sqrt{5}}}{4}i$
$\iff z = \frac{-1\pm_1\sqrt{5}\pm_2\sqrt{10\pm_12\sqrt{5}}i}{4}$
Which was to be derived.