Answer:
The distinction between the two formulas is in the location of that one “minus” sign: For the difference of cubes, the “minus” sign goes in the linear factor, a – b; for the sum of cubes, the “minus” sign goes in the quadratic factor, a2 – ab + b2.