Hint: given the radius of $1\,$, the vertex of the regular $n$-gon which lies on the real axis can only be at $\pm 1$. Assume it is at $+1$, then the $n$ vertices are the $n^{th}$ roots of unity satisfying $z^n-1=0$. Let the roots be $\{\omega_k \;|\; k = 0 \dots n-1\}\,$ then $P(z)=z^n-1=\prod_{k-0}^{n-1}(z-\omega_k)$.
It follows that $\prod_{k-0}^{n-1}|d-\omega_k|=\left|\prod_{k-0}^{n-1}(d-\omega_k)\right| = \left|P(d)\right| = \left|d^n-1\right| = 1 - d^n$ where the latter equality comes from $|d| \le 1\,$.
Similar argument proves the same result if the vertex is at $-1$ instead (or, it can be shown to follow directly by symmetry).
[
EDIT ] To clarify the steps, as asked in a comment:
The relation $z^n-1=\prod_{k-0}^{n-1}(z-\omega_k)$ holds true for all $\forall z \in \mathbb{C}\,$. The LHS is essentially the definition of the $n^{th}$ roots of unity, while the RHS follows directly from the unique factorization of polynomials in $\mathbb{C}[\text{X}]\,$.
Taking the absolute value on both sides: $|z^n-1|=\left|\prod_{k-0}^{n-1}(z-\omega_k)\right|=\prod_{k-0}^{n-1}|z-\omega_k|\,$. This again holds true for all $\forall z \in \mathbb{C}\,$, and means that the product of distances from any point $z$ in the complex place to the vertices of the regular polygon in question equals $|z^n-1|$.
Specializing the above for the case $\,z=d\,$ with $\,d \in \mathbb{R}, |d| \lt 1\,$gives $\prod_{k-0}^{n-1}|z-\omega_k|=|d^n-1|$.
Finally, since $|d| \lt 1$ it follows that $|d|^n \lt 1 \implies d^n \le |d|^n \lt 1\,$ so $|d^n-1| = 1 - d^n$.