Perimeter of an equilateral triangle drawn with respect to a square.
We only need to know that the $\angle ABC=30°$, the rest is just straight forward.
$M$ is NOT the midpoint of $AB$. Note that the angle $\angle MCB$ is equal to $90^{\circ}-60^{\circ}=30^{\circ}$, therefore $$|MB|=|BC|\tan(30^{\circ})=\frac{1}{\sqrt{3}}.$$ Moreover $|ED|=|MB|$ (why?). Can you take it from here?