I don't understand the yellow highlighted parts in this proof.
First, is $g(n) = |\frac {b_{d-1}n^{d-1}+...+b_1n+b_0}{n^d}|$ ?? why is it divided by $n^d$, and why does the term, $x^d \rightarrow n^d$, on the numerator disappear??
On the second part highlighted with yellow, why does it have negative sign ??
Thank you in advance!!



No, $\,g(n)=n^d+b_{d-1}n^{d-1}+\ldots+b_1n+b_0\,$ per the line just above.
Because the sign (which is what we/they are interested in at that point) does not change if dividing by a positive quantity, such as $\,n^d\,$ for $\,n \in \mathbb{N}\,$.
It doesn't "disappear" but note that $\,n^k \le n^{d-1}\,$ for $\,k \le d-1\,$, so:
$$ |b_{d-1}|n^{d-1}+|b_{d-2}|n^{d-2}+\ldots+|b_1|n+|b_0| \\ \le |b_{d-1}|n^{d-1}+|b_{d-2}|n^{d-1}+\ldots+|b_1|n^{d-1}+|b_0|n^{d-1} \\ = n^{d-1}\big(|b_{d-1}|+|b_{d-2}|+\ldots+|b_1|+|b_0|\big) $$
Because $\displaystyle \left|\frac{u}{v}\right| \lt 1 \iff -1 \lt \frac{u}{v} \lt 1$ implies $\,-u \lt v\,$ when $\,v \gt 0\,$, and in the context that's what's needed to conclude the proof..