The edge CD of square ABCD connects be and DG on the edge ce of square ECGF;

The edge CD of square ABCD connects be and DG on the edge ce of square ECGF;

Be = DG. In △ CEB and △ CGD,
Both ABCD and ECGF are square,
∴BC=DC,EC=GC.∴∠BCE =∠DCG=90°.
∴△CEB≌△CGD,∴BE=DG.