A circle and a square overlap such that the overlapping area is $50\%$ of the area of the circle, and is $25\%$ of the area of the square, as shown in the figure. Find the ratio of the area of the square outside the circle to the area of the whole figure.