
All segments of the polygon meet at right angles (90 degrees). The length of segment $\overline{AB}$ is 10. The length of segment $\overline{BC}$ is 8. The length of segment $\overline{DE}$ is 3. The length of segment $\overline{GH}$ is 2.
Find the perimeter of the polygon.