Four distinct circles with centers at , , , and are such that points and lie on all four circles. The radius of circle is times the radius of circle , and the radius of circle is times the radius of circle . The distances and . Let be the midpoint of . Determine the total distance .