How do I calculate the distances for Two-Label Mode - Front & Back (AP362)?

How do I calculate the distances for Two-Label Mode - Front & Back (AP362)?