Squarerootof 5 is the dimension h of the square in red dashed lines, because its area is 5. It is also the hypotenuse length of a right triangle of which
org/licenses/by-sa/4.0CC BY-SA 4.0 Creative Commons Attribution-Share Alike 4.0 truetrue English Equilateral triangle with side length 2 and height squarerootof 3.