Solution:
Concept: The square identities: (a+b)2=a2+2ab+b2 and (a−b)2=a2−2ab+b2. In words, the square of two terms is the square of the first, plus the square of the second, with twice their product added (for a plus sign) or subtracted (for a minus sign).
Step 1 — Part (i): find the middle term.
The two terms are 87x and 54y. We square each and add twice their product.
(87x+54y)2=(87x)2+2×87x×54y+(54y)2=6449x2+4056xy+2516y2=6449x2+57xy+2516y2
Step 2 — Part (ii): the minus case.
The terms are 72x and 47y. Twice their product is xy, and it is subtracted.
(72x−47y)2=(72x)2−2×72x×47y+(47y)2=494x2−xy+1649y2
Watch out: Cancel the middle term fully: 4056 simplifies to 57.
Therefore, (i) 6449x2+57xy+2516y2; (ii) 494x2−xy+1649y2.