Here is a large plywood square. You are going to cut a triangle off of each corner to make a regular octagon. The square is a inches on a side. How many inches should you come in from each corner (x in the picture) so that when you cut off the triangles, all eight sides of the resulting octagon will be equal?