Taking one side CD of square ABCD as equilateral triangle CDE, then ∠ AEB=-----

Taking one side CD of square ABCD as equilateral triangle CDE, then ∠ AEB=-----

Convenient point, let the side length be 2, make the center line of the CD side of the triangle, and the midpoint F
The midline extends to edge g of AB, where G is the midpoint of ab
EF=√3,BE=2-√3,AE²=BE²=1+(2-√3)²
Cosine theorem
cos∠AEB=(1+(2-√3)²+1+(2-√3)²-2²)/2(1+(2-√3)²)(1+(2-√3)²)
It is reduced to cos ∠ AEB = - √ 3 / 2
That is, AEB is 120 degrees