Solution:
Concept: Direct method: multiply each term of the first bracket by each term of the second bracket, then add the like terms. For two brackets of the form (x+a)(x+b) this gives x2+(a+b)x+ab.
Step 1 — Part (i).
The brackets have the form (a+p)(a+q) with p=−8 and q=2, so the middle term is (p+q)a and the last term is pq.
(a−8)(a+2)=a2+(−8+2)a+(−8)(2)=a2−6a−16
Step 2 — Part (ii).
Here p=−3 and q=−5. Two negative numbers multiply to give a positive number.
(b−3)(b−5)=b2+(−3−5)b+(−3)(−5)=b2−8b+15
Step 3 — Part (iii).
The first terms differ, so we multiply each term of the first bracket by the whole second bracket.
(3x−2y)(2x+y)=3x(2x+y)−2y(2x+y)=6x2+3xy−4xy−2y2=6x2−xy−2y2
Step 4 — Part (iv).
We multiply term by term in the same way and add the two middle terms.
(5a+16)(3a−7)=5a(3a−7)+16(3a−7)=15a2−35a+48a−112=15a2+13a−112
Step 5 — Part (v).
We multiply 8 by the second bracket, then −b by the second bracket.
(8−b)(3+b)=8(3+b)−b(3+b)=24+8b−3b−b2=24+5b−b2
Watch out: Take care with signs: (−3)(−5) is +15, while 16×(−7) is −112.
Therefore, (i) a2−6a−16; (ii) b2−8b+15; (iii) 6x2−xy−2y2; (iv) 15a2+13a−112; (v) 24+5b−b2.