Problem:
In the following figure, a regular hexagon of side length is attached to a semicircle of diameter . What is the longest distance between any two points in the figure?

Problem:
In the following figure, a regular hexagon of side length is attached to a semicircle of diameter . What is the longest distance between any two points in the figure?

Solution:
Answer:
Inspection shows that one point must be on the semicircle and the other must be on the side of the hexagon directly opposite the edge with the semicircle, the bottom edge of the hexagon in the above diagram. Let be the center of the semicircle and let be the midpoint of the bottom edge.
We will determine the longest distance between points in the figure by comparing the lengths of all the segments with one endpoint on the bottom edge and the other endpoint on the semicircle. Fix a point on the bottom edge of the hexagon. Suppose that is chosen on the semicircle such that is as long as possible. Let be the circle centered at with radius . If is not tangent to the semicircle, then part of the semicircle is outside , so we could pick a on the semicircle such that is longer than . So must be tangent to the semicircle, and must pass through .
Then is always , no matter which we choose on the bottom edge. All that remains is maximizing . This length is the hypotenuse of a right triangle with the fixed height , so it is maximized when is as large as possible - when is an endpoint of the bottom edge. Note that , and that can be at most , so can be at most . So the maximum distance between two points in the diagram is .