C2. A circle lies within a rectangle and touches three of its edges, as shown.
The area inside the circle equals the area inside the rectangle but outside the circle.

What is the ratio of the length of the rectangle to its width?