Solution:
Concept: Sum and difference of two cubes: A3+B3=(A+B)(A2−AB+B2) and A3−B3=(A−B)(A2+AB+B2). The sign in the short bracket is the sign between the cubes, and the middle term AB of the long bracket has the opposite sign.
A common factor divides every term of an expression. Taking it out is the distributive law used backwards: ka+kb=k(a+b). We take out the H.C.F. (highest common factor) of all the terms, so that nothing common is left inside the bracket. A whole bracket can also be a common factor.
Step 1 — Factorise each pair.
The first pair has common factor 2 and leaves a sum of cubes (27y3 is (3y)3); the second pair has common factor −4.
2x3+54y3=2(x3+27y3)=2(x+3y)(x2−3xy+9y2)
−4x−12y=−4(x+3y)
Step 2 — Take out the common factor.
Both parts contain 2(x+3y); the second part is 2(x+3y)×(−2).
2x3+54y3−4x−12y=2(x+3y)(x2−3xy+9y2)−4(x+3y)=2(x+3y)(x2−3xy+9y2−2)
Watch out: Take out the 2 as well as (x+3y); then the factor left from −4(x+3y) is −2.
Therefore, 2x3+54y3−4x−12y=2(x+3y)(x2−3xy+9y2−2).