1 a1 a2 a3 a4 a5

Assume an N-sided figure with equal lengths of its vertices is wrapped in a unit circle. Prove that the product of all distances from one corner to the others equals, N.