The area of the triangle OAB is s = (1/2) × 5× 5× sin (135 degrees).
= (25/2) × sin (45 degrees) =(25√2)/4
So the area of a regular octagon is 8S=50√2 square units.