It appears that you used FOIL, but multiplied instead of adding exponents for each product.