Formula For Finding Endpoint With Midpoint