Luann has a platter made out of a square, with semicircles of diameter 12 inches on each edge, as shown. What is the side length of the smallest square that can contain the platter, in inches?
The smallest side length is 18*sqrt(2) + 6.