Technically a difference of cubes, \(A^3-B^3\text{,}\) is equal to \(A^3+(-B)^3\text{.}\) So you can treat any difference of cubes as a sum of cubes, \(A^3+B^3\text{,}\) where \(B\) is negative and you only need to memorize the *sum* of cubes formula.