You can put this solution on YOUR website! Depends. Sometimes you can use FOIL (acronym for first-outer-inner-last, order in which you can expand terms)
Some higher-order polynomials you might just have to go term by term, satisfying the distributive property:
If you are raising a binomial to a power, use the binomial theorem.
Here, nCk denotes the number of ways to choose k objects from a set of n objects, regardless of order.