Certain items are purchased jointly. If each person pays 8coins, the surplus is 3coins, and if each person gives 7coins, the deficiency is 4coins. Let x represent the number of people and y the number of coins needed to purchase the items. Find the numberof people and the number of coins used to purchasethe items.