Work out the top point and the distance from the middle