what is the technique in solving sum and difference of two cubes