The binomial expansion formula along with pascal's triangle will serve you better than simply the formula for cubes, but I am not good enough with latex to format either in a reasonable way.... but you should definitely look it up as pascal's triangle makes binomial expansion way easier

Pascal's triangle - Wikipedia, the free encyclopedia

Just the first part of that article will be useful for you as then it gets complicated

Also, as you'll be dealing with limits and things later, the algebraic conjugate is something to be familiar with

It's a useful way of multiplying by 1, for example

It's really handy for eliminating roots in the denominator, which are generally undesirable

And all we did was multiply by 1 in a "cool" way, by taking the denominator of our original fraction and changing the second term to a -, we were able to get rid of the root

Not trying to scare you with 5 parameters by the way, a,b,c,d,e are just numbers