Midway Point Formula