The two squares shown share the same center $O$ and have sides of length 1. The length of $\overline{AB}$ is $\frac{43}{99}$ and the area of octagon $ABCDEFGH$ is $\frac{m}{n}$ where $m$ and $n$ are relatively prime positive integers. Find $m+n.$
The octagon consists of $8$ triangles with vertex $O$ and a side of the octagon as base. By symmetry all eight sides have length $\frac{43}{99}$, and the height from $O$ to each is $\frac12$.
Area $=8\cdot\frac12\cdot\frac{43}{99}\cdot\frac12=\frac{86}{99}$.
The two squares shown share the same center $O$ and have sides of length 1. The length of $\overline{AB}$ is $\frac{59}{128}$ and the area of octagon $ABCDEFGH$ is $\frac{m}{n}$ where $m$ and $n$ are relatively prime positive integers. Find $m+n.$