Hello,
I assume that you don't understand what happened to the x² in the big bracket(?). If so:
You know the first binomial formula: . That means you can expand the bracket to get the sum at the RHS but you also can get a squared bracket if you have a sum like the one at the RHS:
Compare the formula with topsquark's actual calculations. He used the formula to do the problem.