It appears that you used FOIL, but added instead of multiplying coefficients for each product.