Hello, omgmath!
3.To construct a regular octagon, construct a square, and locate its centre, O.
Then construct two arcs through O with centres at opposite vertices.
Using the other vertices, draw similar arcs through O.
Join the points located on the square to form an octagon.
Prove the octagon is a regular octagon. We have a square
with center
and side 
Code:
A Q P B
* - - o - - - o - - *
| * * |
| * * |
R o * * |
| * * |
| * | 2a
| * O * |
| * * |
| * * |
| * * |
* - - - - - - - - - *
D 2a C
Using center
and radius
, locate point
.
Using center
and radius
, locate point
.
Using center
and radius
, locate point
.
The radii of all the arcs are equal to: . 
. . Hence: . 
. . And: . a)
Then: . )
. . This is the length of the four vertical and horizontal sides of the octagon.
We have isosceles right triangle
with legs a)
Its hypotenuse is given by: . ![QR^2\;=\;[(2-\sqrt{2})a]^2 + [(2-\sqrt{2})a]^2](http://latex.codecogs.com/png.latex?QR^2\;=\;[(2-\sqrt{2})a]^2 + [(2-\sqrt{2})a]^2)
. . Then: .  \;=\;4a^2(\sqrt{2}-1)^2)
So: . )
. . This is the length of the four diagonal sides of the octagon.
Hence, the octagon has eight equal sides.
Since each of the four corners has the same isosceles right triangle,
. . all the vertices have 135° angles.
Hence, the octagon has eight equal angles.
Therefore, we have a regular octagon.