Solution:
Concept: The square of three terms: (a+b+c)2=a2+b2+c2+2ab+2bc+2ca. Each term keeps its own sign, so a product of two terms with opposite signs is negative.
The cube of a binomial: (a+b)3=a3+3a2b+3ab2+b3 and (a−b)3=a3−3a2b+3ab2−b3. In the second one the signs alternate: plus, minus, plus, minus.
Step 1 — Part (i).
We use the three-term identity with the terms 3x, −4y and 5z.
(3x−4y+5z)2=(3x)2+(−4y)2+(5z)2+2(3x)(−4y)+2(−4y)(5z)+2(5z)(3x)=9x2+16y2+25z2−24xy−40yz+30zx
Step 2 — Part (ii).
The terms are 2a, −5b and −4c; the product of the two negative terms is positive.
(2a−5b−4c)2=(2a)2+(−5b)2+(−4c)2+2(2a)(−5b)+2(−5b)(−4c)+2(−4c)(2a)=4a2+25b2+16c2−20ab+40bc−16ca
Step 3 — Part (iii).
We use (a+b)3 with the terms 5x and 3y.
(5x+3y)3=(5x)3+3(5x)2(3y)+3(5x)(3y)2+(3y)3=125x3+225x2y+135xy2+27y3
Step 4 — Part (iv).
We use (a−b)3 with the terms 6a and 7b; the signs alternate.
(6a−7b)3=(6a)3−3(6a)2(7b)+3(6a)(7b)2−(7b)3=216a3−756a2b+882ab2−343b3
Watch out: In (iv), the term 3(6a)2(7b) means 3×36a2×7b, so it simplifies to 756a2b; square 6 before multiplying.
Therefore, (i) 9x2+16y2+25z2−24xy−40yz+30zx; (ii) 4a2+25b2+16c2−20ab+40bc−16ca; (iii) 125x3+225x2y+135xy2+27y3; (iv) 216a3−756a2b+882ab2−343b3.