in 1 through 4,use the standard algorithm to find the products.