I am having a problem with understanding an English sentence underlined in red below. Can somebody let me understand what it is saying? and what is maximized?

I am having a problem with understanding an English sentence underlined in red below. Can somebody let me understand what it is saying? and what is maximized?

The statement is saying two things.
Since for all $x \neq 0$ we have $\frac{(x'd)^2}{x'Bx} \leq d'B^{-1} d$, then also $\displaystyle\max_{x\neq0} \frac{(x'd)^2}{x'Bx} \leq d'B^{-1} d$.
For the particular choice of $x = cB^{-1}d$ (for any $c \neq 0$), we have $\frac{(x'd)^2}{x'Bx} = d'B^{-1} d$, and so $\displaystyle\max_{x\neq0} \frac{(x'd)^2}{x'Bx} \geq d'B^{-1} d$.
These two things put together imply that $$\max_{x\neq0} \frac{(x'd)^2}{x'Bx} = d'B^{-1} d.$$