The total retracement is to the total record as P1, the south half mile, is to the record for the south half mile.
So, 79.74 is to 80 as P1 is to the record 40 or P1 equals 39.87.
Since the record of both line segments equals 40 . . .