.
Go to Wikipedia and look in this its article https://en.wikipedia.org/wiki/Dodecagon
talking about dodecagon (it is better one time to see than 100 times to hear).
Dodecagon has 12 sides. We consider a REGULAR dodecagon.
Look in the figure in this article.
In my solution, I consider the scheme when 4 vertices of the regular dodecagon coincide with the midpoints of square sides.
I will work with 3 sides of the regular dodecagon that are located in QIII.
These three sides are sloped at 15°, 45° and 75° to the horizontal line.
The sides are of 2 units long each.
It means that half of the square side length is this sum
= 2*cos(15°) + 2*cos(45°) + 2*cos(75°) = = 3.866.
Hence, the square side length = 2*3.866 = 7.731.
Then the square area = = = 59.772.
Answer. The square area = 59.772 square units (approximately).
Notice that in his solution @greneestamps considers different scheme of the regular dodecagon inscribed to the square.