
Gene G. answered 03/11/17
Tutor
5.0
(257)
Retired Electrical Engineer - ACT Prep, Free Official Practice Tests
Sketch your octagon in a square. Notice that each of the corners to be cut off are 45-45 degree right triangles.
(The external angles in a regular polygon are 360/n. 360/8 = 45.
What you really need is the octagon's side length.
One side of the square includes one side of the octagon (s) and one leg of each of two isosceles right triangles which have (s) as their hypotenuse. The legs have equal lengths (a).
Use the Pythagorean theorem:
s2 = a2 + a2 = 2a2
s = a√2
a = s/√2
The total length of one side of the square is s + 2a, so:
s + 2a = 12
s + 2s/√2 = 12 multiply top & bottom of the fraction by √2 to clear the radical from its denominator.
s + 2s√2/2 = 12 multiply by 2
s + √2s = 12
s(1+√2) = 12
s = 12 /(1+ √2)
s = 4.97 ≈ 5.0