For your first question:
; there are n terms in .
I think there must be a typo, there should be an = before the
So your second problem:
; again there are n terms in
When I used to teach discrete math, rarely did a text book note the following easy facts. I think they really simplify big theta questions.