First we need to use the rules of BIDMAS (brackets, indices, division, multiplication, addition, subtraction)So we must deal with the brackets of the function first(x-1)(x+2)To expand these brackets we use FOIL, first, outers, inners, lastso multiply x by x, giving x^2, x by 2 giving 2x, -1 by x giving -x, and -1 by 2 giving -2. Adding all these together gives x^2+x-2so our function is now 6x^2(x^2+x-2), still we need to use BIDMAS and it looks like we still have brackets to deal with. So now to expand the brackets, we must multiply everything in the bracket by 6x^2 to give (6x^2x^2)+(6x^2x)+(6x^2*-2)We have expanded the bracket and must now deal with the indicesremembering the indices rule x^a*x^b=x^a+b means we now have 6x^4+6x^2-12x^2