A store owner buys $4,000 worth of products. For shipping costs, it is 10% of the amount of product A and 4% of the amount of product B. If the total shipping cost is $352, which system of equations can be used to determine how much of product A and product B the store owner bought?