You can put this solution on YOUR website! I am assuming you did not lose any parentheses. So this has to do with order of operations. parentheses take precedence over everything and then exponents take precedence over multiplication and subtraction.
For the first term you square first and then multiply.
But for you have to cube before multiplying by -1.
So we have