Keep in mind that you can gather only like terms. Two terms can be summed/subtracted if they involve the same powers of the same variables.
So, going point by point:
- We can subtract the terms, because they both involve the variable [tex] b [/tex], and we have [tex] 3b-7b = (3-7)b = -4b [/tex]
- We can sum the terms, because they all involve the variable [tex] a [/tex], and we have [tex] a+a-5a = (1+1-5)a = -3a [/tex]
- We can't sum this terms: 3 is a pure number, while 3r involves the variable r.
- We can only sum the two terms: we have [tex]7t-8t-8 = (7-8)t-8 = -t-8 [/tex]
- We can't sum this terms: -20 is a pure number, while -15p involves the variable p.
- We can sum the terms, because they all involve the variable [tex] g [/tex], and we have [tex] -g-g-g = (-1-1-1)g = -3g [/tex]