The side length of the square, a=4.
An equilateral triangle has equal sides. Since the base of the triangle is one side of the square, we get
Since BQ⊥AC, BP is perpendicular to AC, and hence, BP is the altitude the equilateral triangle ABC.
The altitude BP of the equilateral triangle ABC is,
Also, since BQ⊥ED, BQ⊥AC and P is midpoint of AC, Q is midpoint of ED.
Now using Pythagoras theorem in triangle BQE,
Therefore, BE=7.7.