https://drive.google.com/file/d/0B-4lJHUDH1P5UEZ4QzNYcTNYQWs/edit?usp=sharing
The image of the problem can be accessed in the above website.
Two semicircles are tangent to each other. The semicircle with center D has a radius of 4, and the semicircle with center C has a radius of 2. Segment AC is tangent to the larger semicircle and intersects the smaller semicircle at B. What is the length of segment AB?

Since $\triangle ACD$ is a right triangle with $CD=6$, we have $$AB=AC-BC=\sqrt{6^2-4^2}-2=2\sqrt 5-2.$$