Dist to CP = (Total Distance - GS Return) / (GS Home + GS Continue)
If distance is in nm and speeds are in nm/hour we get the following units.
(A nm - B nm/hour) / (C nm/hour) = A hours - B/C
This will yield an answer in hours minus a number (A hours - B/C).
It will not yield a distance.