If you know the formula for the difference of two cubes, then you can factorise even further.

Then you'll have something like this:

Which, if you multiply through by the denominator of the LHS, becomes:

Which you should be able to solve for A, B, C and D by expanding the LHS, and comparing coefficients of the RHS and LHS.