Constructing an octagon given a side

 

Click here for a GSP construction of an octagon and here for a GSP script of an octagon.