Problem

Source: Baltic Way 1996 Q2

Tags: geometry, geometry proposed



In the figure below, you see three half-circles. The circle $C$ is tangent to two of the half-circles and to the line $PQ$ perpendicular to the diameter $AB$. The area of the shaded region is $39\pi$, and the area of the circle $C$ is $9\pi$. Find the length of the diameter $AB$.


Attachments: