If a chord subtends a right angle at the center of a circle with radius R, the distance d from the center to the midpoint of the chord is R times the cosine of 45 degrees, making d equal to R divided by the square root of 2. The locus of this midpoint is given as a circle with radius d equal to 3. Setting R divided by the square root of 2 equal to 3 gives R equal to 3 times the square root of 2, and squaring this radius gives the equation of the original circle. The equation of the original circle is x squared plus y squared equals 18.