Assuming it is a regular octagon meaning that angles and sides are equal then using the formula,Originally Posted bybritt12790

Where is the number of sides and,

is the length of the sides.

But since it perimeter is 40 and there are 8 sides then each sides is 5. Thus,

But .

Thus,