The question with the diagram is below:
The first two equations, $\displaystyle GB=HD$ and $\displaystyle EC=FD$ are there to show you that the two lines draw through the square are at right angles to the edges to the square, that they are straight across and straight down.
If both lines are straight across and straight down they must be the same lenght as the sides of the square, which means...