Find the radius of the semicircle.
Let the side length of the squares be s.
Case A) Squares next to each other.
Then the radius of the semicircle is r=s√2.
Case B) Squares on top of each other.
Then the radius of the semicircle is:
r2=(2s)2+(s2)2r=√4⋅4s2+s24r=s2√5
!