Ratio expression for octagon

Information: Ratio expression for octagon