sqrt(a^2 + (b + y)^2) + sqrt((a - c)^2 + (y)^2) = d