When we do multiplications of polynomials we have to multiply every term of the first expression with every term of the second expression, then:
Now, the error in the expression given is that they did not do all the possible multiplications, they only squared the two terms.