how to solve special product and factoring